mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-07-03 07:29:43 +08:00
chore: Miscellaneous code clean-up
This commit is contained in:
2
android/app/proguard-rules.pro
vendored
2
android/app/proguard-rules.pro
vendored
@ -13,5 +13,5 @@
|
|||||||
-dontwarn java.awt.**
|
-dontwarn java.awt.**
|
||||||
-dontwarn javax.**
|
-dontwarn javax.**
|
||||||
|
|
||||||
# Keep this for Share Plus or else you can't share log in Settings
|
# Required for Share Plus, ref: ReVanced/revanced-manager#2474
|
||||||
-keep interface android.content.res.XmlResourceParser { *; }
|
-keep interface android.content.res.XmlResourceParser { *; }
|
||||||
|
@ -40,7 +40,7 @@ bool hasUnsupportedRequiredOption(List<Option> options, Patch patch) {
|
|||||||
for (final String optionType in requiredOptionsType) {
|
for (final String optionType in requiredOptionsType) {
|
||||||
if (!supportedOptionsType.contains(optionType)) {
|
if (!supportedOptionsType.contains(optionType)) {
|
||||||
if (kDebugMode) {
|
if (kDebugMode) {
|
||||||
print('${patch.name} has unsupported required patch option: $requiredOptionsType');
|
print('PatchCompatibilityCheck: ${patch.name} has unsupported required patch option type: $requiredOptionsType');
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user