Set android:configChanges for .PartsActivity
* Fixes crash when rotating display while
colour calibration dialog is visible.
Change-Id: Idee3d5d40bef49f8e654fac87f5bb7d51c2b00ea
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 2814e18..a560cb6 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -51,7 +51,8 @@
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
- <activity android:name=".PartsActivity">
+ <activity android:name=".PartsActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />