File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
policy/src/com/android/internal/policy/impl Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2424import android .content .res .Resources ;
2525import android .graphics .PixelFormat ;
2626import android .graphics .Canvas ;
27+ import android .os .SystemProperties ;
2728import android .util .Log ;
2829import android .view .View ;
2930import android .view .ViewGroup ;
@@ -100,7 +101,9 @@ public synchronized void show() {
100101 if (DEBUG ) Log .d (TAG , "show(); mKeyguardView==" + mKeyguardView );
101102
102103 Resources res = mContext .getResources ();
103- boolean enableScreenRotation = res .getBoolean (R .bool .config_enableLockScreenRotation );
104+ boolean enableScreenRotation =
105+ SystemProperties .getBoolean ("lockscreen.rot_override" ,false )
106+ || res .getBoolean (R .bool .config_enableLockScreenRotation );
104107 if (mKeyguardHost == null ) {
105108 if (DEBUG ) Log .d (TAG , "keyguard host is null, creating it..." );
106109
You can’t perform that action at this time.
0 commit comments