mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 12:47:47 +01:00
setApplicationHidden drops a package from the default PackageManager enumeration even though it stays installed=true, so a sweep querying with flags 0 could never see anything it had already hidden. That made packagesToShow permanently empty: measured on device, a pass following one that hid three apps reported "hid 0, restored 0" and left them hidden with no way back. Query with MATCH_UNINSTALLED_PACKAGES instead. Hiding the enforcer itself is the other unrecoverable case, since it takes the escape hatch and the trigger with it. The exporter now injects com.kuhy.focus_owner into both the day and night allowlists so the decision layer cannot propose it, and the runner keeps its point-of-use skip to cover a policy asset rendered before this fix or hand-edited. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YQLwdquDCNmWtvgi3Lk72J
212 lines
5.6 KiB
JSON
212 lines
5.6 KiB
JSON
{
|
|
"allowed_packages": [
|
|
"ac.mdiq.podcini.X",
|
|
"ch.protonmail.android",
|
|
"com.Splitwise.SplitwiseMobile",
|
|
"com.anthropic.claude",
|
|
"com.aurora.store",
|
|
"com.azure.authenticator",
|
|
"com.beemdevelopment.aegis",
|
|
"com.blackview.launcher",
|
|
"com.blackview.launcher.overlay.framework",
|
|
"com.bnyro.clock",
|
|
"com.discord",
|
|
"com.facebook.katana",
|
|
"com.facebook.orca",
|
|
"com.fitatu.tracker",
|
|
"com.fsck.k9",
|
|
"com.github.android",
|
|
"com.google.android.apps.maps",
|
|
"com.google.android.calendar",
|
|
"com.google.android.contactkeys",
|
|
"com.google.android.gm",
|
|
"com.google.android.safetycore",
|
|
"com.ichi2.anki",
|
|
"com.jksalcedo.librefind",
|
|
"com.jwang123.splitbills",
|
|
"com.kolejeslaskie.mss",
|
|
"com.kuhy.diet_guard_app",
|
|
"com.kuhy.dufs_client",
|
|
"com.kuhy.epopeja_karta",
|
|
"com.kuhy.focus_owner",
|
|
"com.kuhy.focusstatus",
|
|
"com.kuhy.habit_stack",
|
|
"com.kuhy.home_inventory",
|
|
"com.kuhy.horatio",
|
|
"com.kuhy.pomodoro_app",
|
|
"com.kuhy.untools",
|
|
"com.kuhy.vaultkitbypass",
|
|
"com.kuhy.wake_alarm_sync",
|
|
"com.kuhy.workout_app",
|
|
"com.kunzisoft.keepass.libre",
|
|
"com.machiav3lli.fdroid",
|
|
"com.maksimowiczm.foodyou",
|
|
"com.metrolist.music",
|
|
"com.microsoft.office.outlook",
|
|
"com.microsoft.teams",
|
|
"com.qqlabs.minimalistlauncher",
|
|
"com.rama.teyin",
|
|
"com.revolut.revolut",
|
|
"com.schwegelbin.openbible",
|
|
"com.shazam.android",
|
|
"com.sosauce.cutecalc",
|
|
"com.stronglifts.app",
|
|
"com.topjohnwu.magisk",
|
|
"com.tplink.iot",
|
|
"com.vayunmathur.camera",
|
|
"com.waist.line",
|
|
"com.xiaomi.smarthome",
|
|
"com.yoshi.rain",
|
|
"com.zaneschepke.wireguardautotunnel",
|
|
"de.kicktipp.mbookmark",
|
|
"de.schildbach.oeffi",
|
|
"de.thomaskuenneth.benice",
|
|
"dev.kuhy.todo",
|
|
"eu.kanade.tachiyomi.sy",
|
|
"is.xyz.mpv",
|
|
"me.phh.superuser",
|
|
"moe.shizuku.privileged.api",
|
|
"net.bible.android.activity",
|
|
"net.cozic.joplin",
|
|
"net.osmand",
|
|
"net.thunderbird.android.beta",
|
|
"oracle.idm.mobile.authenticator",
|
|
"org.connectbot",
|
|
"org.fdroid.fdroid",
|
|
"org.fossify.contacts",
|
|
"org.fossify.messages",
|
|
"org.fossify.phone",
|
|
"org.mozilla.fenix",
|
|
"org.runnerup",
|
|
"org.thoughtcrime.securesms",
|
|
"pkp.ic.eicmobile",
|
|
"pl.mbank",
|
|
"pl.nask.mobywatel",
|
|
"pl.orange.mojeorange",
|
|
"pl.pkobp.iko",
|
|
"pl.plksa.portalpasazera",
|
|
"ws.xsoh.etar"
|
|
],
|
|
"browser_packages": [
|
|
"com.android.chrome",
|
|
"org.mozilla.fenix"
|
|
],
|
|
"curfew": {
|
|
"end": "05:00",
|
|
"start": "23:00"
|
|
},
|
|
"home": {
|
|
"hysteresis_m": 30.0,
|
|
"latitude": null,
|
|
"longitude": null,
|
|
"radius_m": 150.0
|
|
},
|
|
"launcher_package": "com.qqlabs.minimalistlauncher",
|
|
"never_disable_prefixes": [
|
|
"android",
|
|
"com.android.bluetooth",
|
|
"com.android.camera",
|
|
"com.android.camera2",
|
|
"com.android.captiveportallogin",
|
|
"com.android.certinstaller",
|
|
"com.android.contacts",
|
|
"com.android.dialer",
|
|
"com.android.documentsui",
|
|
"com.android.emergency",
|
|
"com.android.externalstorage",
|
|
"com.android.inputmethod",
|
|
"com.android.keychain",
|
|
"com.android.launcher",
|
|
"com.android.launcher3",
|
|
"com.android.location",
|
|
"com.android.messaging",
|
|
"com.android.mms",
|
|
"com.android.networkstack",
|
|
"com.android.nfc",
|
|
"com.android.permissioncontroller",
|
|
"com.android.phone",
|
|
"com.android.providers",
|
|
"com.android.se",
|
|
"com.android.settings",
|
|
"com.android.shell",
|
|
"com.android.systemui",
|
|
"com.android.vpndialogs",
|
|
"com.android.wifi",
|
|
"com.google.android.apps.messaging",
|
|
"com.google.android.contacts",
|
|
"com.google.android.deskclock",
|
|
"com.google.android.dialer",
|
|
"com.google.android.ext.services",
|
|
"com.google.android.ext.shared",
|
|
"com.google.android.gms",
|
|
"com.google.android.gsf",
|
|
"com.google.android.inputmethod.latin",
|
|
"com.google.android.permissioncontroller",
|
|
"com.google.android.setupwizard",
|
|
"com.google.android.trichromelibrary",
|
|
"com.google.android.webview",
|
|
"com.mediatek",
|
|
"com.qualcomm"
|
|
],
|
|
"night_allowed_packages": [
|
|
"com.azure.authenticator",
|
|
"com.beemdevelopment.aegis",
|
|
"com.blackview.launcher",
|
|
"com.blackview.launcher.overlay.framework",
|
|
"com.bnyro.clock",
|
|
"com.fitatu.tracker",
|
|
"com.google.android.apps.maps",
|
|
"com.google.android.calendar",
|
|
"com.google.android.contactkeys",
|
|
"com.google.android.safetycore",
|
|
"com.kuhy.diet_guard_app",
|
|
"com.kuhy.focus_owner",
|
|
"com.kuhy.focusstatus",
|
|
"com.kuhy.habit_stack",
|
|
"com.kuhy.vaultkitbypass",
|
|
"com.kuhy.wake_alarm_sync",
|
|
"com.kuhy.workout_app",
|
|
"com.kunzisoft.keepass.libre",
|
|
"com.maksimowiczm.foodyou",
|
|
"com.metrolist.music",
|
|
"com.qqlabs.minimalistlauncher",
|
|
"com.revolut.revolut",
|
|
"com.stronglifts.app",
|
|
"com.topjohnwu.magisk",
|
|
"com.tplink.iot",
|
|
"com.waist.line",
|
|
"com.xiaomi.smarthome",
|
|
"de.thomaskuenneth.benice",
|
|
"dev.kuhy.todo",
|
|
"me.phh.superuser",
|
|
"moe.shizuku.privileged.api",
|
|
"oracle.idm.mobile.authenticator",
|
|
"org.fossify.contacts",
|
|
"org.fossify.messages",
|
|
"org.fossify.phone",
|
|
"org.runnerup",
|
|
"pl.mbank",
|
|
"pl.nask.mobywatel",
|
|
"pl.pkobp.iko",
|
|
"ws.xsoh.etar"
|
|
],
|
|
"schema_version": 1,
|
|
"workout_unblock_domains": [
|
|
"googlevideo.com",
|
|
"i.ytimg.com",
|
|
"i9.ytimg.com",
|
|
"m.youtube.com",
|
|
"s.ytimg.com",
|
|
"www.youtube-nocookie.com",
|
|
"www.youtube.com",
|
|
"youtu.be",
|
|
"youtube-nocookie.com",
|
|
"youtube.com",
|
|
"youtube.googleapis.com",
|
|
"youtubei.googleapis.com",
|
|
"yt3.ggpht.com",
|
|
"yt3.googleusercontent.com",
|
|
"ytimg.com"
|
|
]
|
|
}
|