packages/apps/Settings
Revision | 24c44243b8316f813e80155816533b5150c92d9a (tree) |
---|---|
Zeit | 2016-09-26 18:53:06 |
Autor | Steve Kondik <steve@cyng...> |
Commiter | Steve Kondik |
settings: Add rotation settings
Change-Id: I896c53089fca0ee3b0e867144bb1d72fe8946eaf
@@ -39,7 +39,13 @@ | ||
39 | 39 | |
40 | 40 | <!-- LiveDisplay --> |
41 | 41 | <org.cyanogenmod.internal.cmparts.CMPartsPreference |
42 | - android:key="livedisplay" /> | |
42 | + android:key="livedisplay" | |
43 | + cm:requiresFeature="org.cyanogenmod.livedisplay" /> | |
44 | + | |
45 | + <!-- Rotation --> | |
46 | + <org.cyanogenmod.internal.cmparts.CMPartsPreference | |
47 | + android:key="rotation" | |
48 | + cm:requiresFeature="android.hardware.sensor.accelerometer" /> | |
43 | 49 | |
44 | 50 | <!-- Hide night mode for now |
45 | 51 | <ListPreference |
@@ -104,10 +110,12 @@ | ||
104 | 110 | android:title="@string/screen_zoom_title" |
105 | 111 | settings:keywords="@string/screen_zoom_keywords" /> |
106 | 112 | |
113 | + <!-- Disable on CM | |
107 | 114 | <DropDownPreference |
108 | 115 | android:key="auto_rotate" |
109 | 116 | android:summary="%s" |
110 | 117 | android:title="@string/display_auto_rotate_title" /> |
118 | + --> | |
111 | 119 | |
112 | 120 | <PreferenceScreen |
113 | 121 | android:key="wifi_display" |