refactor: improve microg-support reference patches

This commit is contained in:
oSumAtrIX 2022-06-18 17:49:17 +02:00
parent 5bf310dfee
commit 8e86d9e6cb
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 0 additions and 6 deletions

View file

@ -65,13 +65,11 @@ class MicroGBytecodePatch : BytecodePatch(
val replaceMode = if (stringValue.equalsAny( val replaceMode = if (stringValue.equalsAny(
"com.google.android.gms", "com.google.android.gms",
"com.google.android.youtube.fileprovider",
"com.google.android.c2dm.intent.REGISTER", "com.google.android.c2dm.intent.REGISTER",
"com.google.android.c2dm.permission.SEND", "com.google.android.c2dm.permission.SEND",
"com.google.iid.TOKEN_REQUEST", "com.google.iid.TOKEN_REQUEST",
"com.google", "com.google",
"com.google.android.gms.auth.accounts", "com.google.android.gms.auth.accounts",
"com.google.android.youtube.SuggestionProvider",
"com.google.android.c2dm.intent.REGISTRATION", "com.google.android.c2dm.intent.REGISTRATION",
"com.google.android.gsf.action.GET_GLS", "com.google.android.gsf.action.GET_GLS",
"com.google.android.gsf.login", "com.google.android.gsf.login",

View file

@ -39,10 +39,6 @@ class MicroGResourcePatch : ResourcePatch() {
"android:label=\"@string/application_name", "android:label=\"$REVANCED_APP_NAME" "android:label=\"@string/application_name", "android:label=\"$REVANCED_APP_NAME"
).replace( ).replace(
"android:authorities=\"com.google.android.youtube", "android:authorities=\"$REVANCED_PACKAGE_NAME" "android:authorities=\"com.google.android.youtube", "android:authorities=\"$REVANCED_PACKAGE_NAME"
).replace(
"com.google.android.youtube.fileprovider", "$REVANCED_PACKAGE_NAME.fileprovider"
).replace(
"com.google.android.youtube.SuggestionProvider", "$REVANCED_PACKAGE_NAME.SuggestionProvider"
).replace( ).replace(
"com.google.android.youtube.permission.C2D_MESSAGE", "$REVANCED_PACKAGE_NAME.permission.C2D_MESSAGE" "com.google.android.youtube.permission.C2D_MESSAGE", "$REVANCED_PACKAGE_NAME.permission.C2D_MESSAGE"
).replace( // TODO: might not be needed ).replace( // TODO: might not be needed