Merge "Guard against NPE" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-07 19:55:29 +00:00
committed by Android (Google) Code Review

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()