OSDN Git Service

Shows the correct home icon when quickstep is enabled on startup
authorMatthew Ng <ngmatthew@google.com>
Fri, 2 Mar 2018 23:16:03 +0000 (15:16 -0800)
committerMatthew Ng <ngmatthew@google.com>
Tue, 6 Mar 2018 01:14:44 +0000 (01:14 +0000)
commitd0a73e7aa4f40e8cdb2f25edd9c3946beaf5c957
tree264f6bcc748bb5ce466cf6bac4dd388022563cfb
parentd97a0f1ac58d64462316f2b0d32162a01e3f828c
Shows the correct home icon when quickstep is enabled on startup

The wrong home icon was shown on startup because it takes sometime for
the disabled flags to set disable recents flag that determines if
overview is enabled. When it changes to be true update nav bar icons.

Test: boot phone and look at nav bar
Change-Id: Ib1c00cfa1c3eb0444ccc985dfaf1b3c74e790692
Fixes: 74071465
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java