Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-24 06:52:16 +00:00
committed by Android (Google) Code Review
@@ -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