mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 04:44:35 +08:00
Prevent res/xml/plugin.xml being removed from release build
reference `@xml/plugin` in AndroidManifest.xml of :lib:plugin_base
This commit is contained in:
parent
630f9258dc
commit
49d8807101
@ -11,6 +11,13 @@
|
||||
</queries>
|
||||
|
||||
<application>
|
||||
<meta-data
|
||||
android:name="org.fcitx.fcitx5.android.plugin.METADATA"
|
||||
tools:node="remove" />
|
||||
<meta-data
|
||||
android:name="org.fcitx.fcitx5.android.debug.plugin.METADATA"
|
||||
android:resource="@xml/plugin" />
|
||||
|
||||
<activity
|
||||
android:name=".AboutActivity"
|
||||
android:directBootAware="true"
|
||||
|
||||
@ -13,6 +13,10 @@
|
||||
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
|
||||
|
||||
<application>
|
||||
<!-- prevent res/xml/plugin.xml from being removed by AGP resource optimization -->
|
||||
<meta-data
|
||||
android:name="org.fcitx.fcitx5.android.plugin.METADATA"
|
||||
android:resource="@xml/plugin" />
|
||||
<activity
|
||||
android:name=".AboutActivity"
|
||||
android:exported="true"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user