Permalink
Browse files

Preventing a crash in Comments activity when comment dialog is open, …

…and orientation changes
  • Loading branch information...
amir committed Sep 22, 2010
1 parent fcff29f commit 5f493eb8482a41689628e78ce4752057414e5a40
Showing with 4 additions and 2 deletions.
  1. +4 −2 AndroidManifest.xml
View
@@ -9,8 +9,10 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
- <activity android:name="Comments" android:label="@string/menu_comments"></activity>
- <activity android:name="Submissions" android:label="@string/menu_submissions"></activity>
+ <activity android:name=".Comments" android:label="@string/menu_comments"
+ android:configChanges="orientation">
+ </activity>
+ <activity android:name=".Submissions" android:label="@string/menu_submissions"></activity>
<activity android:name=".KarmaWidgetConfigurationActivity">
<intent-filter>
<action android:name="android.apwidget.action.APPWIDGET_CONFIGURE"/>

0 comments on commit 5f493eb

Please sign in to comment.