Skip to content

armgit / haven

Public Imported from GitHub
0

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors

Fixes #75: Prevent loss of data on Device Rotation in Accel and Microphone Configure Activity by fixing the layout to portrait.

Anupam Das7d1d5d5b9485
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml
index 7c7e37b..bbf5a01 100644
--- a/src/main/AndroidManifest.xml
+++ b/src/main/AndroidManifest.xml
@@ -63,8 +63,10 @@
android:name="org.havenapp.main.ui.EventActivity"
android:label="@string/title_activity_event"
android:theme="@style/AppTheme" />
- <activity android:name="org.havenapp.main.ui.MicrophoneConfigureActivity"/>
- <activity android:name="org.havenapp.main.ui.AccelConfigureActivity"/>
+ <activity android:name="org.havenapp.main.ui.MicrophoneConfigureActivity"
+ android:screenOrientation="portrait"/>
+ <activity android:name="org.havenapp.main.ui.AccelConfigureActivity"
+ android:screenOrientation="portrait"/>
<receiver android:name="org.havenapp.main.sensors.PowerConnectionReceiver">
<intent-filter>