Merge "Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed" into tm-qpr-dev am: ac4c866538 am: e892b3e4c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21467064 Change-Id: Ia9fb0b47902f28cbc9eaa5157aefc4fc779cf55e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -454,6 +454,10 @@ import java.util.StringJoiner;
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateIconAlphaForHome(float alpha) {
|
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);
|
mIconAlphaForHome.setValue(alpha);
|
||||||
boolean hotseatVisible = alpha == 0
|
boolean hotseatVisible = alpha == 0
|
||||||
|| (!mControllers.uiController.isHotseatIconOnTopWhenAligned()
|
|| (!mControllers.uiController.isHotseatIconOnTopWhenAligned()
|
||||||
|
|||||||
Reference in New Issue
Block a user