diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java index 4e89fbfeb6e3..7d86a6a1794a 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +++ b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java @@ -513,10 +513,6 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis notifySystemUiStateFlags(mSysUiState.getFlags()); notifyConnectionChanged(); - if (mDoneUserChanging != null) { - mDoneUserChanging.run(); - mDoneUserChanging = null; - } } @Override @@ -571,14 +567,11 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis } }; - private Runnable mDoneUserChanging; private final UserTracker.Callback mUserChangedCallback = new UserTracker.Callback() { @Override - public void onUserChanging(int newUser, @NonNull Context userContext, - @NonNull Runnable resultCallback) { + public void onUserChanged(int newUser, @NonNull Context userContext) { mConnectionBackoffAttempts = 0; - mDoneUserChanging = resultCallback; internalConnectToCurrentUser("User changed"); } }; |