Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20024f44 authored by Sreyas's avatar Sreyas Committed by Zak Cohen
Browse files

Fixing NPE befre ActionsView first initialized.

Bug: 159728260
Change-Id: I00e6f8fccf8057495f77873f2f0a1ab01e63ed23
(cherry picked from commit 88f1f204)
parent b2b0d4d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ public class TaskOverlayFactory implements ResourceBasedOverride {
                boolean rotated) {
            final boolean isAllowedByPolicy = thumbnail.isRealSnapshot;

            mActionsView.updateDisabledFlags(DISABLED_ROTATED, rotated);
            getActionsView().updateDisabledFlags(DISABLED_ROTATED, rotated);

            getActionsView().setCallbacks(new OverlayUICallbacks() {
                @Override