mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 02:16:49 +00:00
Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed
Bug: 269409332 Test: manual Change-Id: I0ff4be33b1e621b0e1a837f8211eb70c27368be1
This commit is contained in:
@@ -454,6 +454,10 @@ import java.util.StringJoiner;
|
||||
}
|
||||
|
||||
private void updateIconAlphaForHome(float alpha) {
|
||||
if (mControllers.taskbarActivityContext.isDestroyed()) {
|
||||
Log.e("b/260135164", "updateIconAlphaForHome is called after Taskbar is destroyed",
|
||||
new Exception());
|
||||
}
|
||||
mIconAlphaForHome.setValue(alpha);
|
||||
boolean hotseatVisible = alpha == 0
|
||||
|| (!mControllers.uiController.isHotseatIconOnTopWhenAligned()
|
||||
|
||||
Reference in New Issue
Block a user