Fixing NPE befre ActionsView first initialized.
Bug: 159728260
Change-Id: I00e6f8fccf8057495f77873f2f0a1ab01e63ed23
(cherry picked from commit 88f1f2046c)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user