Revert "Prevent app from restarting when display resolution changes (external displayy was plugged etc)"

This reverts commit 50656161c7.
This commit is contained in:
Sergii Pylypenko
2014-01-11 00:10:01 +02:00
parent 50656161c7
commit 7aa473d26d
3 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -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)