OSDN Git Service

Disable orientation switching on CryptKeeper screen
authorPaul Lawrence <paullawrence@google.com>
Fri, 23 May 2014 15:46:34 +0000 (08:46 -0700)
committerPaul Lawrence <paullawrence@google.com>
Thu, 29 May 2014 15:10:22 +0000 (08:10 -0700)
Consensus is that it adds no usability, but creates bugs and unpleasantness.

@bug 14415329

Change-Id: Icd682e5199d0d7b5d2f25b6e772e6e3cdb3a9bb0

AndroidManifest.xml

index 4388f0b..36cf32c 100644 (file)
                   android:excludeFromRecents="true"
                   android:theme="@android:style/Theme.Quantum.Light.NoActionBar"
                   android:configChanges="keyboard|keyboardHidden|uiMode"
-                  android:windowSoftInputMode="adjustResize">
+                  android:windowSoftInputMode="adjustResize"
+                  android:screenOrientation="nosensor">
             <intent-filter android:priority="10">
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.HOME" />