Merge "Only enable taskbar snapshot if taskbar is present." into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2025-04-14 16:22:47 -07:00
commit 3ebed7ae11
1 file changed
+2 -1
@@ -1139,7 +1139,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
}
private void updateTaskbarSnapshot(AnimatorSet anim, boolean isExpanded) {
if (!ENABLE_TASKBAR_BEHIND_SHADE.isTrue()) {
if (!ENABLE_TASKBAR_BEHIND_SHADE.isTrue()
|| isPhoneMode()) {
return;
}
if (mTaskbarSnapshotView == null) {