Merge "Guard against NPE" into rvc-dev am: 54225dfc65

Change-Id: I73c40d9c7bbe6f891736461921a03b6292d44bf9
This commit is contained in:
TreeHugger Robot
2020-04-07 20:05:13 +00:00
committed by Automerger Merge Worker

View File

@@ -203,7 +203,9 @@ public class KeyguardBouncer {
Log.wtf(TAG, "onFullyShown when view was null"); Log.wtf(TAG, "onFullyShown when view was null");
} else { } else {
mKeyguardView.onResume(); mKeyguardView.onResume();
mRoot.announceForAccessibility(mKeyguardView.getAccessibilityTitleForCurrentMode()); if (mRoot != null) {
mRoot.announceForAccessibility(mKeyguardView.getAccessibilityTitleForCurrentMode());
}
} }
} }