mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Tint task bar based on sampling of colors in the area
TODO: Add transition animation Bug: 193938970 Test: manual Change-Id: I0ffb94e0f11d47685a268ee8d057b6997f3a2ff6
This commit is contained in:
@@ -284,6 +284,7 @@ public class TaskbarStashController {
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
mIsStashed = isStashed;
|
||||
onIsStashed(mIsStashed);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -325,4 +326,8 @@ public class TaskbarStashController {
|
||||
animateForward ? UNSTASHED_TASKBAR_HANDLE_HINT_SCALE : 1)
|
||||
.setDuration(TASKBAR_HINT_STASH_DURATION).start();
|
||||
}
|
||||
|
||||
private void onIsStashed(boolean isStashed) {
|
||||
mControllers.stashedHandleViewController.onIsStashed(isStashed);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user