Overview - update UI to use solid color scrim.

Also required updates to colors and status bar icons to match with new
color.

Bug: 179922117
Test: local build and flash on two devices

Change-Id: Ibec54107f52c01f125e6d100abe32434f2067b71
This commit is contained in:
Zak Cohen
2021-03-29 16:52:26 -07:00
parent efeb27ce9c
commit a547b781ee
11 changed files with 55 additions and 43 deletions

View File

@@ -137,14 +137,17 @@ public class QuickSwitchTouchController extends AbstractStateChangeTouchControll
private void updateFullscreenProgress(float progress) {
mOverviewPanel.setFullscreenProgress(progress);
int sysuiFlags = 0;
if (progress > UPDATE_SYSUI_FLAGS_THRESHOLD) {
int sysuiFlags = 0;
TaskView tv = mOverviewPanel.getTaskViewAt(0);
if (tv != null) {
sysuiFlags = tv.getThumbnail().getSysUiStatusNavFlags();
}
mLauncher.getSystemUiController().updateUiState(UI_STATE_OVERVIEW, sysuiFlags);
} else {
mLauncher.getSystemUiController().updateUiState(
UI_STATE_OVERVIEW, mOverviewPanel.hasLightBackground());
}
mLauncher.getSystemUiController().updateUiState(UI_STATE_OVERVIEW, sysuiFlags);
}
@Override