ActivityLaunch
object ActivityLaunch
Android 10+ background-activity-launch rules, as far as a library can check them.
Functions
Link copied to clipboard
True if this process may start an activity right now. On API 29+ Android silently drops activity starts from background apps — no exception, so a naive startActivity "succeeds" while nothing opens. The app qualifies when its process is exactly IMPORTANCE_FOREGROUND or IMPORTANCE_VISIBLE, or it holds SYSTEM_ALERT_WINDOW (Settings.canDrawOverlays).