mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 02:16:49 +00:00
Update taskbar corner roundness progress
This cl simply updates taskbar corner roundness after it finishes initializing all the controllers. Test: Presubmit Bug: 370984727 Flag: com.android.window.flags.enable_desktop_windowing_mode Change-Id: Ieb98835c74cc992f47354dbfa86ededeadf5c786
This commit is contained in:
@@ -195,11 +195,12 @@ public class TaskbarControllers {
|
||||
};
|
||||
|
||||
if (taskbarDesktopModeController.getAreDesktopTasksVisible()) {
|
||||
mCornerRoundness.updateValue(taskbarDesktopModeController.getTaskbarCornerRoundness(
|
||||
mSharedState.showCornerRadiusInDesktopMode));
|
||||
mCornerRoundness.value = taskbarDesktopModeController.getTaskbarCornerRoundness(
|
||||
mSharedState.showCornerRadiusInDesktopMode);
|
||||
} else {
|
||||
mCornerRoundness.updateValue(TaskbarBackgroundRenderer.MAX_ROUNDNESS);
|
||||
mCornerRoundness.value = TaskbarBackgroundRenderer.MAX_ROUNDNESS;
|
||||
}
|
||||
updateCornerRoundness();
|
||||
onPostInit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user