Merge "Skip updateIconAlphaForHome if Taskbar is already destroyed" into tm-qpr-dev

This commit is contained in:
Alex Chau
2023-02-28 21:23:53 +00:00
committed by Android (Google) Code Review

View File

@@ -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