Merge "Move addPluginListener to onUserUnlocked" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2019-10-24 21:26:34 +00:00
commit 949b96a82d
1 file changed
+3 -3
@@ -279,9 +279,6 @@ public class TouchInteractionService extends Service implements PluginListener<O
mDeviceState.runOnUserUnlocked(this::onUserUnlocked);
sConnected = true;
PluginManagerWrapper.INSTANCE.get(getBaseContext()).addPluginListener(this,
OverscrollPlugin.class, false /* allowMultiple */);
}
private void disposeEventHandlers() {
@@ -348,6 +345,9 @@ public class TouchInteractionService extends Service implements PluginListener<O
mBackGestureNotificationCounter = Math.max(0, Utilities.getDevicePrefs(this)
.getInt(KEY_BACK_NOTIFICATION_COUNT, MAX_BACK_NOTIFICATION_COUNT));
resetHomeBounceSeenOnQuickstepEnabledFirstTime();
PluginManagerWrapper.INSTANCE.get(getBaseContext()).addPluginListener(this,
OverscrollPlugin.class, false /* allowMultiple */);
}
private void onDeferredActivityLaunch() {