File tree 2 files changed +6
-0
lines changed
java/fr/free/nrw/commons/explore 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 114
114
<activity
115
115
android : name =" .explore.SearchActivity"
116
116
android : label =" @string/title_activity_search"
117
+ android : configChanges =" orientation|keyboardHidden"
117
118
android : parentActivityName =" .contributions.ContributionsActivity"
118
119
/>
119
120
Original file line number Diff line number Diff line change 1
1
package fr .free .nrw .commons .explore ;
2
2
3
+ import android .content .res .Configuration ;
3
4
import android .database .DataSetObserver ;
4
5
import android .os .Bundle ;
5
6
import android .support .design .widget .TabLayout ;
@@ -194,6 +195,10 @@ public void onSearchImageClicked(int index) {
194
195
mediaDetails .showImage (index );
195
196
forceInitBackButton ();
196
197
}
198
+ @ Override
199
+ public void onConfigurationChanged (Configuration newConfig ) {
200
+ super .onConfigurationChanged (newConfig );
201
+ }
197
202
198
203
/**
199
204
* This method is called on Screen Rotation
You can’t perform that action at this time.
0 commit comments