• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Revision24c44243b8316f813e80155816533b5150c92d9a (tree)
Time2016-09-26 18:53:06
AuthorSteve Kondik <steve@cyng...>
CommiterSteve Kondik

Log Message

settings: Add rotation settings

  • Links to CMParts

Change-Id: I896c53089fca0ee3b0e867144bb1d72fe8946eaf

Change Summary

Incremental Difference

--- a/res/xml/display_settings.xml
+++ b/res/xml/display_settings.xml
@@ -39,7 +39,13 @@
3939
4040 <!-- LiveDisplay -->
4141 <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" />
4349
4450 <!-- Hide night mode for now
4551 <ListPreference
@@ -104,10 +110,12 @@
104110 android:title="@string/screen_zoom_title"
105111 settings:keywords="@string/screen_zoom_keywords" />
106112
113+ <!-- Disable on CM
107114 <DropDownPreference
108115 android:key="auto_rotate"
109116 android:summary="%s"
110117 android:title="@string/display_auto_rotate_title" />
118+ -->
111119
112120 <PreferenceScreen
113121 android:key="wifi_display"