mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
android: only enable CoreSideloadActivity on debug builds (#20024)
This commit is contained in:
1 parent
76d9622095
commit
c4f751bd99
4 files changed
+19
-1
No files matched your search
@@ -52,7 +52,6 @@
|
||||
<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" />
|
||||
|
||||
@@ -160,6 +160,12 @@ android {
|
||||
jni.srcDirs = []
|
||||
res.srcDirs = ['res', '../phoenix-common/res']
|
||||
}
|
||||
debug {
|
||||
manifest.srcFile 'src/debug/AndroidManifest.xml'
|
||||
}
|
||||
release {
|
||||
manifest.srcFile 'src/release/AndroidManifest.xml'
|
||||
}
|
||||
normal {
|
||||
java.srcDirs += ['../play-core-stub']
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application>
|
||||
<!-- Debug-only activity for core sideloading -->
|
||||
<activity android:name="com.retroarch.browser.debug.CoreSideloadActivity" android:exported="true"/>
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application>
|
||||
<!-- Release builds exclude debug activities -->
|
||||
</application>
|
||||
</manifest>
|
||||
Reference in new issue
Block a user