mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
ANDROID: Allow screen rotation
This commit is contained in:
parent
bc438d078a
commit
33b09af3b2
@ -109,13 +109,6 @@ public abstract class ScummVM implements SurfaceHolder.Callback, Runnable {
|
||||
// SurfaceHolder callback
|
||||
final public void surfaceChanged(SurfaceHolder holder, int format,
|
||||
int width, int height) {
|
||||
// the orientation may reset on standby mode and the theme manager
|
||||
// could assert when using a portrait resolution. so lets not do that.
|
||||
if (height > width) {
|
||||
Log.d(LOG_TAG, String.format(Locale.ROOT, "Ignoring surfaceChanged: %dx%d (%d)",
|
||||
width, height, format));
|
||||
return;
|
||||
}
|
||||
|
||||
PixelFormat pixelFormat = new PixelFormat();
|
||||
PixelFormat.getPixelFormatInfo(format, pixelFormat);
|
||||
|
@ -17,9 +17,6 @@
|
||||
<uses-feature
|
||||
android:name="android.hardware.wifi"
|
||||
android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.hardware.screen.landscape"
|
||||
android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.hardware.touchscreen"
|
||||
android:required="false" />
|
||||
@ -50,7 +47,6 @@
|
||||
android:exported="true"
|
||||
android:banner="@drawable/leanback_icon"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
|
||||
android:screenOrientation="landscape"
|
||||
android:theme="@style/SplashTheme"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<intent-filter>
|
||||
@ -67,7 +63,6 @@
|
||||
android:banner="@drawable/leanback_icon"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
|
||||
android:launchMode="singleInstance"
|
||||
android:screenOrientation="landscape"
|
||||
android:theme="@style/AppTheme"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
</activity>
|
||||
|
Loading…
Reference in New Issue
Block a user