Merge "Rotation lock bugfix."
This commit is contained in:
committed by
Android (Google) Code Review
commit
aac9e0df28
@@ -686,7 +686,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
Settings.System.ACCELEROMETER_ROTATION, DEFAULT_ACCELEROMETER_ROTATION);
|
||||
|
||||
// set up rotation lock state
|
||||
mUserRotationMode = (mAccelerometerDefault == 0)
|
||||
mUserRotationMode = (accelerometerDefault == 0)
|
||||
? WindowManagerPolicy.USER_ROTATION_LOCKED
|
||||
: WindowManagerPolicy.USER_ROTATION_FREE;
|
||||
mUserRotation = Settings.System.getInt(resolver,
|
||||
|
||||
Reference in New Issue
Block a user