Persistent process is ProcessRecord.isPersistent().
Persistent process does not propagate BG-FGS-start capability
down to service over binding, the "persistent process" here is
ProcessRecord.isPersistent() (manifest file has android:persistent="true")
instead of the process's procstate is PROCESS_STATE_PERSISTENT, because app
could also get procstate PROCESS_STATE_PERSISTENT when it is bound by system_server.
Bug: 226461824
Test: b/226461824 reproduce steps.
Change-Id: If892ffaa2fe296aad334e71644ef22571a7d3e91
1 file changed