Open Bug 1892202 Opened 1 year ago Updated 1 year ago

Investigate if foreground services can be launched when process has importance visible

Categories

(Firefox for Android :: General, task, P3)

All
Android
task

Tracking

()

People

(Reporter: rsainani, Unassigned)

Details

To fix Bug 1839039 (where fenix was crashing on starting a foreground service from background on SDK >= 31), we created a utility StartForgeoundService { } to safely start the service if the app process was in foreground. This was done with the ActivityManager API. The app was never found in the IMPORTANCE_VISIBLE state during testing. So we want to investigate when the app moves into that state and whether foreground services can be launched in that state.

You need to log in before you can comment on or make changes to this bug.