Skip to content
Snippets Groups Projects
Commit 32461bab authored by Pogman's avatar Pogman
Browse files

configChanges="uiMode" added to avoid restart of AsyncTasks when phone is...

configChanges="uiMode" added to avoid restart of AsyncTasks when phone is plugged into charger/dock (for phones that can do usb otg & charging simultaneously
parent 946f6e22
No related branches found
No related tags found
No related merge requests found
...@@ -31,11 +31,13 @@ ...@@ -31,11 +31,13 @@
<!-- I have set screenOrientation to "portrait" to avoid the restart of AsyncTasks when you rotate the phone --> <!-- I have set screenOrientation to "portrait" to avoid the restart of AsyncTasks when you rotate the phone -->
<!-- configChanges="uiMode" added to avoid restart of AsyncTasks when phone is plugged into charger/dock (for phones that can do usb otg & charging simultaneously -->
<activity <activity
android:name=".medtronic.MainActivity" android:name=".medtronic.MainActivity"
android:icon="@drawable/ic_launcher" android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:launchMode="singleTask" android:launchMode="singleTask"
android:configChanges="uiMode"
android:screenOrientation="portrait"> android:screenOrientation="portrait">
<intent-filter android:icon="@drawable/ic_launcher"> <intent-filter android:icon="@drawable/ic_launcher">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment