fbdf5dedf66c1c94e85055e6ddb3234713bb4df6
Every scoped app's cold start pays whatever cost the hook installation itself takes, so it's the one place worth trimming here — there's no standing service or background work anywhere else in the module. Previously any enabled feature caused both Settings.Secure and Settings.Global to get hooked with the full combined key set, even though each key only ever lives on one of them (accessibility/mock-location keys are Secure-only, adb/dev-options keys are Global-only). Splitting the key maps by actual canonical class means an app that only needs e.g. ADB+dev- options hidden skips hooking Settings.Secure entirely, roughly halving the reflective hook-install calls for that case. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
No description provided
121 KiB
Languages
Kotlin
95.1%
Shell
4.9%