Merge "Don't set up external displays from binder thread" into klp-dev

This commit is contained in:
Jim Miller
2013-11-14 01:47:32 +00:00
committed by Android (Google) Code Review

View File

@@ -617,7 +617,14 @@ public class KeyguardViewMediator {
}
}
KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why);
mKeyguardDisplayManager.show();
// This needs to run on the UI thread
mHandler.post(new Runnable() {
@Override
public void run() {
mKeyguardDisplayManager.show();
}
});
}
private void doKeyguardLaterLocked() {