OSDN Git Service

Force orientation if no sensors
[android-x86/device-generic-common.git] / overlay / frameworks / base / core / res / res / values / config.xml
index ec4dec5..0762c94 100644 (file)
@@ -82,4 +82,9 @@
     <!-- When true use the linux /dev/input/event subsystem to detect the switch changes
          on the headphone/microphone jack. When false use the older uevent framework. -->
     <bool name="config_useDevInputEventForAudioJack">true</bool>
+
+    <!-- Flag indicating that this device does not rotate and will always remain in its default
+         orientation. Activities that desire to run in a non-compatible orientation will be run
+         from an emulated display within the physical display. -->
+    <bool name="config_forceDefaultOrientation">true</bool>
 </resources>