Skip to content

Commit

Permalink
Revert "Disable YT Advanced detection"
Browse files Browse the repository at this point in the history
This reverts commit e3cdbfa.
  • Loading branch information
WSTxda committed Mar 10, 2024
1 parent 6eaa599 commit c53bbdd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ abstract class AppPreference : Preference {
packageName.contains(".vanced.android") -> context.getString(R.string.vanced)
packageName.contains(".revanced.android") -> context.getString(R.string.revanced)
packageName.contains(".rvx.android") -> context.getString(R.string.revanced_extended)
// packageName.contains(".rex.android") -> context.getString(R.string.youtube_advanced)
packageName.contains(".rex.android") -> context.getString(R.string.youtube_advanced)
else -> ""
}

Expand Down
2 changes: 1 addition & 1 deletion play-services-base/core/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
<string name="vanced">Vanced</string>
<string name="revanced">ReVanced</string>
<string name="revanced_extended">ReVanced Extended</string>
<!-- <string name="youtube_advanced">YT Advanced</string>-->
<string name="youtube_advanced">YT Advanced</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void doChecks(Context context, ResultCollector collector) {
// addPackageInstalledResult(context, collector, context.getString(R.string.self_check_pkg_gsf), Constants.GSF_PACKAGE_NAME);
checkInstalledPackage(context, collector, context.getString(R.string.revanced), ".revanced.android");
checkInstalledPackage(context, collector, context.getString(R.string.revanced_extended), ".rvx.android");
// checkInstalledPackage(context, collector, context.getString(R.string.youtube_advanced), ".rex.android");
checkInstalledPackage(context, collector, context.getString(R.string.youtube_advanced), ".rex.android");
checkInstalledPackage(context, collector, context.getString(R.string.vanced), ".vanced.android");
addPackageInstalledResult(context, collector, context.getString(R.string.self_check_pkg_gms), Constants.GMS_PACKAGE_NAME);
addPackageInstalledAndSignedResult(context, collector, context.getString(R.string.self_check_pkg_vending), "com.android.vending", Constants.GMS_PACKAGE_SIGNATURE_SHA1);
Expand Down
2 changes: 1 addition & 1 deletion play-services-core/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ This can take a couple of minutes"</string>

<string name="self_check_pkg_revanced">ReVanced</string>
<string name="self_check_pkg_revanced_extended">ReVanced Extended</string>
<!-- <string name="self_check_pkg_youtube_advanced">YT Advanced</string>-->
<string name="self_check_pkg_youtube_advanced">YT Advanced</string>
<string name="self_check_pkg_vanced">Vanced</string>
<string name="self_check_revanced_name_app_installed">Running with <xliff:g example="F-Droid">%1$s</xliff:g></string>
<string name="self_check_revanced_resolution_app_installed"><xliff:g example="F-Droid">%1$s</xliff:g> apps not found, compile or install a modified apk</string>
Expand Down

0 comments on commit c53bbdd

Please sign in to comment.