am 39af5a78: Merge "Don\'t set up external displays from binder thread" into klp-dev

* commit '39af5a78c073d01539625a9fbbb8511747e2f048':
  Don't set up external displays from binder thread
This commit is contained in:
Jim Miller
2013-11-13 17:50:26 -08:00
committed by Android Git Automerger

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