Some apps are secured only partially (ex: proton mail's pin screen). In these, it'd be better to watch for what activity is open and selectively pause on that screen. Currently we only watch what app is open.
I did most of the essential work for this in eddb583, all we need to do is return and respond to the activity if/when we want to do the work of maintaining these listings.
Some apps are secured only partially (ex: proton mail's pin screen). In these, it'd be better to watch for what activity is open and selectively pause on that screen. Currently we only watch what app is open.
The relevant APIs are ActivityManager and UsageStatsManager.