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

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