mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Skip updateIconAlphaForHome if Taskbar is already destroyed
Bug: 269409332 Test: Switch display with and without Tasxkbar at home and in-app, Taskbar and Hotseat visibility are correct Change-Id: I598f618c336067bf795b77ccdf3b03f420634047
This commit is contained in:
@@ -471,6 +471,7 @@ import java.util.StringJoiner;
|
||||
if (mControllers.taskbarActivityContext.isDestroyed()) {
|
||||
Log.e("b/260135164", "updateIconAlphaForHome is called after Taskbar is destroyed",
|
||||
new Exception());
|
||||
return;
|
||||
}
|
||||
mIconAlphaForHome.setValue(alpha);
|
||||
boolean hotseatVisible = alpha == 0
|
||||
|
||||
Reference in New Issue
Block a user