Merge "Only enable taskbar snapshot if taskbar is present." into main
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user