OSDN Git Service

Conserve expansion after re-inflation
authorLucas Dupin <dupin@google.com>
Thu, 21 Jun 2018 18:41:34 +0000 (11:41 -0700)
committerLucas Dupin <dupin@google.com>
Fri, 22 Jun 2018 19:35:45 +0000 (12:35 -0700)
commit5220db7887aea9392cbfa51fd782c9cbb3063187
tree34773b40edac97a7afe0006608d2e91edcee9d9a
parentae4a49aaca3d622957d06132fbc6977597e03cb0
Conserve expansion after re-inflation

We were updating most of the PhoneStatusBarView state during
re-inflation but not the expansion and its fraction.

Test: Pull down shade, run: adb shell service call overlay 4 s16 "com.android.systemui.theme.dark" i32 1 i32 0
Test: Switch to guest user, switch back
Test: Reboot, look at status bar
Change-Id: I41669fb32419ad02a11586ba248a68b47d450413
Fixes: 110530608
Fixes: 110147405
Fixes: 79122419
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java