Merge "Prevent momentary switch of keyguard to landscape" into jb-mr2-dev
This commit is contained in:
@@ -200,6 +200,9 @@ public class KeyguardViewManager {
|
||||
stretch, stretch, type, flags, PixelFormat.TRANSLUCENT);
|
||||
lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE;
|
||||
lp.windowAnimations = com.android.internal.R.style.Animation_LockScreen;
|
||||
lp.screenOrientation = enableScreenRotation ?
|
||||
ActivityInfo.SCREEN_ORIENTATION_USER : ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;
|
||||
|
||||
if (ActivityManager.isHighEndGfx()) {
|
||||
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
|
||||
lp.privateFlags |=
|
||||
|
||||
Reference in New Issue
Block a user