Files
RetroArch/pkg/android/phoenix-legacy/AndroidManifest.xml
libretroadmin 592f324e28 (Android) Repeat the native-library meta-data on the launcher alias
NativeActivity resolves android.app.lib_name and android.app.func_name
from the launched component's own ActivityInfo, and an activity-alias
does not inherit meta-data from its target - so a launch through the
alias fell back to loading libmain.so and threw before onCreate
completed.  The two entries are repeated on the alias in every
variant, matching the target activity byte for byte.
2026-08-20 03:39:43 +02:00

57 lines
3.5 KiB
XML

<!-- <!DOCTYPE manifest [ <!ENTITY % versionDTD SYSTEM "../../../version.dtd"> %versionDTD; ]> !-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.retroarch.legacy"
android:versionCode="1556806386"
android:versionName="1.22.2"
android:installLocation="internalOnly">
<uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.gamepad" android:required="false"/>
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:allowAudioPlaybackCapture="true"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="RetroArch"
android:hasCode="true"
android:appCategory="game"
android:banner="@drawable/banner">
<activity android:name="com.retroarch.browser.retroactivity.RetroActivityPast" android:exported="true" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:launchMode="singleInstance">
<meta-data android:name="android.app.lib_name" android:value="retroarch-activity" />
<meta-data android:name="android.app.func_name" android:value="ANativeActivity_onCreate" />
</activity>
<!-- Launcher identity: same component name as the retired Java
launcher, so pinned shortcuts and launcher rows keep
resolving while starting the native activity directly. -->
<activity-alias android:name="com.retroarch.browser.mainmenu.MainMenuActivity"
android:targetActivity="com.retroarch.browser.retroactivity.RetroActivityPast"
android:exported="true">
<!-- NativeActivity resolves its library from the launched
component's own meta-data; an alias does not inherit
these from its target, so they are repeated here. -->
<meta-data android:name="android.app.lib_name" android:value="retroarch-activity" />
<meta-data android:name="android.app.func_name" android:value="ANativeActivity_onCreate" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
<category android:name="tv.ouya.intent.category.GAME" />
</intent-filter>
</activity-alias>
<activity android:name="com.retroarch.browser.debug.CoreSideloadActivity" android:exported="true"/>
<receiver android:name="com.retroarch.browser.receiver.InstalledCoresReceiver" android:exported="true">
<intent-filter>
<action android:name="com.retroarch.QUERY_INSTALLED_CORES" />
</intent-filter>
</receiver>
</application>
</manifest>