mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 11:41:25 +00:00
ANDROID: Support connection change for some bluetooth keyboards
Some bluetooth keyboards also need "navigation" supported as configuration change Tested with a new Lamtech bluetooth (BLE5) keyboard and also this is suggested here as well: https://stackoverflow.com/a/27238892
This commit is contained in:
parent
d07c7fd391
commit
a674b65c95
@ -10,6 +10,7 @@ import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.Toast;
|
||||
import android.content.res.Configuration;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
@ -104,4 +105,9 @@ public class SplashActivity extends Activity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(@NonNull Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -46,7 +46,7 @@
|
||||
android:name=".SplashActivity"
|
||||
android:exported="true"
|
||||
android:banner="@drawable/leanback_icon"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|smallestScreenSize|screenLayout"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize|screenLayout"
|
||||
android:resizeableActivity="true"
|
||||
android:theme="@style/SplashTheme"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
@ -61,7 +61,7 @@
|
||||
android:name=".ScummVMActivity"
|
||||
android:exported="false"
|
||||
android:banner="@drawable/leanback_icon"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|smallestScreenSize|screenLayout"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize|screenLayout"
|
||||
android:resizeableActivity="true"
|
||||
android:launchMode="singleInstance"
|
||||
android:theme="@style/AppTheme"
|
||||
|
Loading…
x
Reference in New Issue
Block a user