Initiate taskbar only after the user is unlocked

Bug: 188755902
Test: Presubmit
Change-Id: Ida4bc07f45396e82ab404a617aa6833afeea78bc
This commit is contained in:
Sunny Goyal
2021-05-20 13:45:58 -07:00
parent f8b1c3b38e
commit 301eaf2b8c
2 changed files with 14 additions and 0 deletions
@@ -325,6 +325,7 @@ public class TouchInteractionService extends Service implements PluginListener<O
mDeviceState.addNavigationModeChangedCallback(this::onNavigationModeChanged);
mDeviceState.addOneHandedModeChangedCallback(this::onOneHandedModeOverlayChanged);
mDeviceState.runOnUserUnlocked(this::onUserUnlocked);
mDeviceState.runOnUserUnlocked(mTaskbarManager::onUserUnlocked);
ProtoTracer.INSTANCE.get(this).add(this);
sConnected = true;
}