mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user