Revert "Prevent app from restarting when display resolution changes (external displayy was plugged etc)"
This reverts commit 50656161c7.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
android:alwaysRetainTaskState="true"
|
android:alwaysRetainTaskState="true"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:screenOrientation="userLandscape"
|
android:screenOrientation="userLandscape"
|
||||||
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
|
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode|screenSize|smallestScreenSize"
|
||||||
android:windowSoftInputMode="stateUnspecified|adjustPan"
|
android:windowSoftInputMode="stateUnspecified|adjustPan"
|
||||||
>
|
>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|||||||
@@ -780,8 +780,8 @@ public class MainActivity extends Activity
|
|||||||
@Override
|
@Override
|
||||||
public void onConfigurationChanged(Configuration newConfig)
|
public void onConfigurationChanged(Configuration newConfig)
|
||||||
{
|
{
|
||||||
|
super.onConfigurationChanged(newConfig);
|
||||||
// Do nothing here
|
// Do nothing here
|
||||||
//super.onConfigurationChanged(newConfig);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setText(final String t)
|
public void setText(final String t)
|
||||||
|
|||||||
Reference in New Issue
Block a user