Add freeform window metadata for ChromeOS

This commit is contained in:
Cameron Gutman
2023-09-23 02:48:53 -04:00
parent 55da48e28c
commit 6589a568e2
+17 -18
View File
@@ -87,6 +87,10 @@
android:resizeableActivity="true" android:resizeableActivity="true"
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"> android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection">
<meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
<meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@@ -104,18 +108,16 @@
android:resizeableActivity="true" android:resizeableActivity="true"
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
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|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection">
<meta-data <meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
android:name="android.support.PARENT_ACTIVITY" <meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
android:value="com.limelight.PcView" />
</activity> </activity>
<activity <activity
android:name=".AppView" android:name=".AppView"
android:resizeableActivity="true" android:resizeableActivity="true"
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"> android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection">
<meta-data <meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
android:name="android.support.PARENT_ACTIVITY" <meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
android:value="com.limelight.PcView" />
</activity> </activity>
<activity <activity
android:name=".preferences.StreamSettings" android:name=".preferences.StreamSettings"
@@ -123,9 +125,8 @@
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection" android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
android:label="Streaming Settings"> android:label="Streaming Settings">
<meta-data <meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
android:name="android.support.PARENT_ACTIVITY" <meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
android:value="com.limelight.PcView" />
</activity> </activity>
<activity <activity
android:name=".preferences.AddComputerManually" android:name=".preferences.AddComputerManually"
@@ -134,9 +135,8 @@
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection" android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
android:label="Add Computer Manually"> android:label="Add Computer Manually">
<meta-data <meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
android:name="android.support.PARENT_ACTIVITY" <meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
android:value="com.limelight.PcView" />
</activity> </activity>
<activity <activity
android:name=".Game" android:name=".Game"
@@ -149,9 +149,9 @@
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:theme="@style/StreamTheme" android:theme="@style/StreamTheme"
android:preferMinimalPostProcessing="true"> android:preferMinimalPostProcessing="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY" <meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
android:value="com.limelight.AppView" /> <meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
<!-- Special metadata for NVIDIA Shield devices to prevent input buffering <!-- Special metadata for NVIDIA Shield devices to prevent input buffering
and most importantly, opt out of mouse acceleration while streaming --> and most importantly, opt out of mouse acceleration while streaming -->
@@ -178,9 +178,8 @@
android:resizeableActivity="true" android:resizeableActivity="true"
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"> android:configChanges="mcc|mnc|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection">
<meta-data <meta-data android:name="WindowManagerPreference:FreeformWindowSize" android:value="system-default" />
android:name="android.support.PARENT_ACTIVITY" <meta-data android:name="WindowManagerPreference:FreeformWindowOrientation" android:value="landscape" />
android:value="com.limelight.PcView" />
</activity> </activity>
</application> </application>