Revert "lineage-sdk: Add ACCELEROMETER_ROTATION_ANGLES to system settings"

This reverts commit 2f9375f4bc.

Change-Id: I88392e75170302fda06900abfd222845371d6771
This commit is contained in:
Tim Schumacher
2019-03-11 15:12:51 +01:00
committed by Michael Bestas
parent 13e33b7116
commit db39c9ac0a

View File

@@ -2023,23 +2023,6 @@ public final class LineageSettings {
}
};
/**
* Control the type of rotation which can be performed using the accelerometer
* if ACCELEROMETER_ROTATION is enabled.
* Value is a bitwise combination of
* 1 = 0 degrees (portrait)
* 2 = 90 degrees (left)
* 4 = 180 degrees (inverted portrait)
* 8 = 270 degrees (right)
* Setting to 0 is effectively orientation lock
* @hide
*/
public static final String ACCELEROMETER_ROTATION_ANGLES = "accelerometer_rotation_angles";
/** @hide */
public static final Validator ACCELEROMETER_ROTATION_ANGLES_VALIDATOR =
sNonNegativeIntegerValidator;
/**
* List of long-screen apps.
*/
@@ -2165,7 +2148,6 @@ public final class LineageSettings {
LineageSettings.System.HEADSET_CONNECT_PLAYER,
LineageSettings.System.ZEN_ALLOW_LIGHTS,
LineageSettings.System.TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK,
LineageSettings.System.ACCELEROMETER_ROTATION_ANGLES,
};
/**
@@ -2343,8 +2325,6 @@ public final class LineageSettings {
TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK_VALIDATOR);
VALIDATORS.put(DISPLAY_PICTURE_ADJUSTMENT,
DISPLAY_PICTURE_ADJUSTMENT_VALIDATOR);
VALIDATORS.put(ACCELEROMETER_ROTATION_ANGLES,
ACCELEROMETER_ROTATION_ANGLES_VALIDATOR);
VALIDATORS.put(LONG_SCREEN_APPS,
LONG_SCREEN_APPS_VALIDATOR);
VALIDATORS.put(FORCE_SHOW_NAVBAR,