OSDN Git Service

Nav icons and quick step states are determined by service enabled
authorMatthew Ng <ngmatthew@google.com>
Tue, 27 Mar 2018 22:25:28 +0000 (15:25 -0700)
committerMatthew Ng <ngmatthew@google.com>
Mon, 2 Apr 2018 23:45:34 +0000 (16:45 -0700)
commit8a7c97a16d7cfa7bcc602dfa969370bce9dfb686
tree24b9cc876a40bf956c8f7c29753422aaba2c2ded
parent50228a647183c9315312f8f36ba849f8b1e6d3d0
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
packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
packages/SystemUI/src/com/android/systemui/Prefs.java
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java