mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
chore: Fix builds
This commit is contained in:
parent
10bae69db6
commit
2e1de94623
2 changed files with 10 additions and 12 deletions
15
android/app/proguard-rules.pro
vendored
15
android/app/proguard-rules.pro
vendored
|
@ -5,19 +5,14 @@
|
||||||
# For more details, see
|
# For more details, see
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||||
|
|
||||||
# These packages are referenced by ReVanced Patches
|
-keep class app.revanced.** { *; }
|
||||||
-keep class app.revanced.patcher.** { *; }
|
|
||||||
-keep class com.android.tools.smali.** { *; }
|
-keep class com.android.tools.smali.** { *; }
|
||||||
-keep class kotlin.** { *; }
|
-keep class kotlin.** { *; }
|
||||||
|
-keep class com.google.auto.value.** { *; }
|
||||||
|
-keep class com.android.apksig.internal.** { *; }
|
||||||
-keepnames class com.google.common.collect.**
|
-keepnames class com.google.common.collect.**
|
||||||
|
|
||||||
# This package uses reflection internally, so do not remove and rename
|
-dontwarn com.google.auto.value.**
|
||||||
-keep class com.android.apksig.internal.** { *; }
|
-dontwarn com.google.j2objc.annotations.*
|
||||||
|
|
||||||
# Fix crash
|
|
||||||
-keepnames class org.xmlpull.** { *; }
|
|
||||||
|
|
||||||
# Fix build errors
|
|
||||||
-dontwarn java.awt.**
|
-dontwarn java.awt.**
|
||||||
-dontwarn javax.**
|
-dontwarn javax.**
|
||||||
-dontwarn com.google.j2objc.annotations.*
|
|
|
@ -1,4 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
|
|
||||||
|
@ -17,7 +18,9 @@
|
||||||
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
|
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
|
||||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
|
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
|
||||||
|
tools:ignore="QueryAllPackagesPermission" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
|
|
Loading…
Reference in a new issue