Merge "Fixes overview connecting to correct launcher when changing users"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e1064ff9bb
@@ -199,7 +199,7 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
|
||||
launcherServiceIntent.setComponent(mLauncherComponentName);
|
||||
boolean bound = mContext.bindServiceAsUser(launcherServiceIntent,
|
||||
mOverviewServiceConnection, Context.BIND_AUTO_CREATE,
|
||||
UserHandle.getUserHandleForUid(mDeviceProvisionedController.getCurrentUser()));
|
||||
UserHandle.of(mDeviceProvisionedController.getCurrentUser()));
|
||||
if (!bound) {
|
||||
// Retry after exponential backoff timeout
|
||||
final long timeoutMs = (long) Math.scalb(BACKOFF_MILLIS, mConnectionBackoffAttempts);
|
||||
|
||||
Reference in New Issue
Block a user