[Backup cleanup] remove call to no-op method setBackupProvisioned
Bug: 120120742 Test: 1) atest RunBackupFrameworksServicesRoboTests 2) atest $(find \ frameworks/base/services/tests/servicestests/src/com/android/server/backup \ -name '*Test.java') Change-Id: I9d6d312f32d79646384adb60726e4c12ee12c052
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
package com.android.sdksetup;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.backup.IBackupManager;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
@@ -57,16 +56,6 @@ public class DefaultActivity extends Activity {
|
||||
Settings.Global.putInt(getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 1);
|
||||
|
||||
Settings.Secure.putInt(getContentResolver(),Settings.Secure.ADB_ENABLED, 1);
|
||||
|
||||
// provision the backup manager.
|
||||
IBackupManager bm = IBackupManager.Stub.asInterface(
|
||||
ServiceManager.getService(Context.BACKUP_SERVICE));
|
||||
if (bm != null) {
|
||||
try {
|
||||
bm.setBackupProvisioned(true);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// remove this activity from the package manager.
|
||||
|
||||
Reference in New Issue
Block a user