We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ff8e1a + 00baebe commit 106a692Copy full SHA for 106a692
policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
@@ -164,8 +164,9 @@ private void maybeCreateKeyguardLocked(boolean enableScreenRotation) {
164
}
165
166
private void inflateKeyguardView() {
167
- if (mKeyguardView != null) {
168
- mKeyguardHost.removeView(mKeyguardView);
+ View v = mKeyguardHost.findViewById(R.id.keyguard_host_view);
+ if (v != null) {
169
+ mKeyguardHost.removeView(v);
170
171
// TODO: Remove once b/7094175 is fixed
172
Slog.d(TAG, "inflateKeyguardView: b/7094175 mContext.config="
0 commit comments