File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
java/com/samsung/microbit/ui/activity Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 129129 <activity
130130 android : name =" .ui.activity.NotificationActivity"
131131 android : label =" @string/device_details"
132- android : screenOrientation = " portrait " />
132+ android : configChanges = " orientation|screenSize " />
133133 <activity
134134 android : name =" .ui.activity.PairingActivity"
135135 android : configChanges =" orientation|screenSize|keyboardHidden"
146146 android : name =" .ui.activity.AudioRecorderActivity"
147147 android : configChanges =" orientation|screenSize"
148148 android : label =" Audio Recorder"
149- android : launchMode =" singleTask"
150- android : screenOrientation =" portrait" />
149+ android : launchMode =" singleTask" />
151150 <activity
152151 android : name =" .ui.activity.HelpWebView"
153152 android : configChanges =" orientation|screenSize"
154153 android : label =" Help Webview"
155- android : launchMode =" singleTask"
156- android : screenOrientation =" portrait" />
154+ android : launchMode =" singleTask" />
157155 <activity
158156 android : name =" .ui.activity.MakeCodeWebView"
159157 android : configChanges =" orientation|screenSize"
Original file line number Diff line number Diff line change 22
33import android .app .Activity ;
44import android .content .Intent ;
5+ import android .content .res .Configuration ;
56import android .os .Bundle ;
67
78import com .samsung .microbit .R ;
@@ -30,6 +31,11 @@ protected void onCreate(Bundle savedInstanceState) {
3031 finish ();
3132 }
3233
34+ @ Override
35+ public void onConfigurationChanged (Configuration newConfig ) {
36+ super .onConfigurationChanged (newConfig );
37+ }
38+
3339 @ Override
3440 protected void onStart () {
3541 super .onStart ();
@@ -40,4 +46,4 @@ protected void onStop() {
4046 super .onStop ();
4147 }
4248
43- }
49+ }
You can’t perform that action at this time.
0 commit comments