Ensure that we update the next dark intensity when restoring the state
- animateIconTint() will check against mNextDarkIntensity before doing any animation Bug: 155490130 Test: Change dark mode a ensure the nav bar updates Change-Id: I51d151e7c0bd0b70a3df3cc8fcf4d2820909669e
This commit is contained in:
@@ -97,6 +97,7 @@ public class LightBarTransitionsController implements Dumpable, Callbacks,
|
||||
|
||||
public void restoreState(Bundle savedInstanceState) {
|
||||
setIconTintInternal(savedInstanceState.getFloat(EXTRA_DARK_INTENSITY, 0));
|
||||
mNextDarkIntensity = mDarkIntensity;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user