OSDN Git Service

Cleanup OWNER in Settings
authorXiaohui Chen <xiaohuic@google.com>
Mon, 21 Sep 2015 17:03:30 +0000 (10:03 -0700)
committerXiaohui Chen <xiaohuic@google.com>
Mon, 21 Sep 2015 17:14:49 +0000 (10:14 -0700)
Bug: 19913735
Change-Id: Iada650431328a304f7c1e6acb8cbde76e4210127

src/com/android/settings/deviceinfo/MigrateEstimateTask.java

index f959ef3..0705d79 100644 (file)
@@ -90,7 +90,7 @@ public abstract class MigrateEstimateTask extends AsyncTask<Void, Void, Long> im
         Log.d(TAG, "Estimating for current path " + path);
 
         final Intent intent = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT);
-        mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE, UserHandle.OWNER);
+        mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM);
 
         try {
             if (mConnected.await(15, TimeUnit.SECONDS)) {