Merge "Keep callback reference from being null." into jb-mr1-dev

This commit is contained in:
Craig Mautner
2012-09-28 15:54:43 -07:00
committed by Android (Google) Code Review

View File

@@ -164,8 +164,9 @@ public class KeyguardViewManager {
}
private void inflateKeyguardView() {
if (mKeyguardView != null) {
mKeyguardHost.removeView(mKeyguardView);
View v = mKeyguardHost.findViewById(R.id.keyguard_host_view);
if (v != null) {
mKeyguardHost.removeView(v);
}
// TODO: Remove once b/7094175 is fixed
Slog.d(TAG, "inflateKeyguardView: b/7094175 mContext.config="