Skip to content

Commit

Permalink
Dont reset the tabs during orientation change so the search results d…
Browse files Browse the repository at this point in the history
…ont get lost
  • Loading branch information
Sam Steele committed Apr 30, 2012
1 parent d05243f commit 1cc49dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</intent-filter>
</receiver>
<activity android:name=".activity.Profile"
android:configChanges="keyboardHidden">
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
Expand Down
4 changes: 2 additions & 2 deletions app/src/fm/last/android/activity/Profile_SearchTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public class Profile_SearchTab extends ListActivity implements OnClickListener,
private ImageCache mImageCache;

@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
public void onCreate(Bundle state) {
super.onCreate(state);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.search);

Expand Down

0 comments on commit 1cc49dc

Please sign in to comment.