Revert "Add support for device state based auto-rotation prefere..."
Revert submission 16745827-device-state-auto-rotation-preferences-aops Reason for revert: Checking if reason for test failures Reverted Changes: I77ed93f04:Add support for device state based auto-rotation p... I5b2791f54:Add support for device state based auto-rotation p... If254220ca:Add support for device state based auto-rotation p... If254220ca:Add support for device state based auto-rotation p... Fix: 219652963 Change-Id: Id95d5d7bb18a28403a6d3199945044e6617e0772
This commit is contained in:
@@ -77,7 +77,6 @@ public class SmartAutoRotatePreferenceController extends TogglePreferenceControl
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
return RotationPolicy.isRotationLockToggleVisible(mContext)
|
||||
&& !DeviceStateAutoRotationHelper.isDeviceStateRotationEnabled(mContext)
|
||||
? AVAILABLE : UNSUPPORTED_ON_DEVICE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user