diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-03-27 15:25:28 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-04-02 16:45:34 -0700 |
commit | 8a7c97a16d7cfa7bcc602dfa969370bce9dfb686 (patch) | |
tree | 24b9cc876a40bf956c8f7c29753422aaba2c2ded /packages/SystemUI/src/com/android/systemui/Prefs.java | |
parent | 50228a647183c9315312f8f36ba849f8b1e6d3d0 (diff) |
Nav icons and quick step states are determined by service enabled
When the device quickly changes states (such as language or font size),
it would disconnect and then reconnect the service and as a result a
flash of the nav buttons will occur. Since the nav bar is connected to
launcher service unless 3rd party launchers are used, that should
determine if the icons should change or quick step should be
enabled/disabled instead of if there is a connection. Also hold the last
interaction flags and apply on startup until service is disabled (using
3rd party launcher).
Test: go to settings and change the font size under display
Change-Id: Ibebc8c3f8493574dd21774bd292c2096cfdad469
Fixes: 74199057
Fixes: 73483047
Fixes: 72225004
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/Prefs.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/Prefs.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/Prefs.java b/packages/SystemUI/src/com/android/systemui/Prefs.java index 2a2714735951..7f7a7692d983 100644 --- a/packages/SystemUI/src/com/android/systemui/Prefs.java +++ b/packages/SystemUI/src/com/android/systemui/Prefs.java @@ -54,7 +54,8 @@ public final class Prefs { Key.HAS_SEEN_RECENTS_ONBOARDING, Key.SEEN_RINGER_GUIDANCE_COUNT, Key.QS_HAS_TURNED_OFF_MOBILE_DATA, - Key.TOUCHED_RINGER_TOGGLE + Key.TOUCHED_RINGER_TOGGLE, + Key.QUICK_STEP_INTERACTION_FLAGS }) public @interface Key { @Deprecated @@ -93,6 +94,7 @@ public final class Prefs { String QS_TILE_SPECS_REVEALED = "QsTileSpecsRevealed"; String QS_HAS_TURNED_OFF_MOBILE_DATA = "QsHasTurnedOffMobileData"; String TOUCHED_RINGER_TOGGLE = "TouchedRingerToggle"; + String QUICK_STEP_INTERACTION_FLAGS = "QuickStepInteractionFlags"; } public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { |