OSDN Git Service

Ignore orientation change to preserve ApnEditor.
authorJunda Liu <junda@google.com>
Sat, 4 Feb 2017 00:39:23 +0000 (16:39 -0800)
committerJunda Liu <junda@google.com>
Mon, 6 Feb 2017 19:14:42 +0000 (19:14 +0000)
Test: manually w/ Vzw and Tmo SIM on marlin. UI rotates while preserving
all values
Bug: b/34956985
Change-Id: I1db34893fd91f99e38913565e7b67ccbfdcb0c93

AndroidManifest.xml

index ddfbf60..1dcc431 100644 (file)
                 android:permission="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
 
         <activity android:name="Settings$ApnEditorActivity"
+                android:configChanges="orientation|keyboardHidden|screenSize"
                 android:label="@string/apn_edit">
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />