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

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

View File

@@ -203,9 +203,11 @@ 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();
if (mRoot != null) {
mRoot.announceForAccessibility(mKeyguardView.getAccessibilityTitleForCurrentMode()); mRoot.announceForAccessibility(mKeyguardView.getAccessibilityTitleForCurrentMode());
} }
} }
}
/** /**
* @see #onFullyShown() * @see #onFullyShown()