diff options
author | Pat Manning <patmanning@google.com> | 2022-06-15 15:03:52 +0100 |
---|---|---|
committer | Alex Chau <alexchau@google.com> | 2022-06-22 21:27:27 +0000 |
commit | 6d17a71d1953e5fe56976a1844a631d1436ec1f4 (patch) | |
tree | 64cf0aebd3fdc4eb02d9ef4cc43a23682bd6d8b4 | |
parent | ed2e7719cb53dcbfa5110d46076b255749009225 (diff) | |
download | Launcher3-6d17a71d1953e5fe56976a1844a631d1436ec1f4.tar.gz |
Detect force visible nav bar based on kids mode.android13-dev
WM was changed to use NAV_BAR_KIDS_MODE instead of NAV_BAR_FORCE_VISIBLE, this needs to update to match.
Fix: 229580780
Test: manual.
Change-Id: I38fb23dcc85676593a3f8f0851676bc526802d2e
(cherry picked from commit c773d7cdc809eb6e86a19ccf94ac435c44b79e97)
-rw-r--r-- | quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java index 95da118948..dc2e3b624c 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java @@ -147,7 +147,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext { mIsUserSetupComplete = SettingsCache.INSTANCE.get(this).getValue( Settings.Secure.getUriFor(Settings.Secure.USER_SETUP_COMPLETE), 0); mIsNavBarForceVisible = SettingsCache.INSTANCE.get(this).getValue( - Settings.Secure.getUriFor(Settings.Secure.NAV_BAR_FORCE_VISIBLE), 0); + Settings.Secure.getUriFor(Settings.Secure.NAV_BAR_KIDS_MODE), 0); mIsNavBarKidsMode = SettingsCache.INSTANCE.get(this).getValue( Settings.Secure.getUriFor(Settings.Secure.NAV_BAR_KIDS_MODE), 0); |