Merge "Cleanup OWNER in Settings"

This commit is contained in:
Xiaohui Chen
2015-09-22 18:14:16 +00:00
committed by Android (Google) Code Review

View File

@@ -90,7 +90,7 @@ public abstract class MigrateEstimateTask extends AsyncTask<Void, Void, Long> im
Log.d(TAG, "Estimating for current path " + path); Log.d(TAG, "Estimating for current path " + path);
final Intent intent = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT); 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 { try {
if (mConnected.await(15, TimeUnit.SECONDS)) { if (mConnected.await(15, TimeUnit.SECONDS)) {