remove another incomplete safety center check

This commit is contained in:
minish 2025-09-26 21:25:32 -04:00
parent ee11d7ecd6
commit bf6e2f60cb
Signed by: min
SSH Key Fingerprint: SHA256:mf+pUTmK92Y57BuCjlkBdd82LqztTfDCQIUp0fCKABc
1 changed files with 0 additions and 6 deletions

View File

@ -102,20 +102,14 @@ class DigicaService : AccessibilityService() {
&& event.text.size == 3 && event.text.size == 3
&& event.text[0].contains(serviceLabel) && event.text[0].contains(serviceLabel)
// Is user in safety center? (can disable service)
val safetyCenter = pkgName == "com.google.android.permissioncontroller"
&& className == "android.widget.FrameLayout"
// Is user trying to go on a banned app? // Is user trying to go on a banned app?
val usingApp = pkgName == "com.zhiliaoapp.musically" val usingApp = pkgName == "com.zhiliaoapp.musically"
|| pkgName == "com.aliucord" || pkgName == "com.aliucord"
|| pkgName == "app.revanced.android.youtube" || pkgName == "app.revanced.android.youtube"
val attempting = (attemptingUninstall val attempting = (attemptingUninstall
|| attemptingDisableService || attemptingDisableService
|| attemptingForceStop || attemptingForceStop
|| safetyCenter
|| usingApp) || usingApp)
if ((isLate || !autoDate) && attempting) { if ((isLate || !autoDate) && attempting) {