Introduce a new process state for location fg service
A foreground service of type "location" gets a higher process state PROCESS_STATE_FOREGROUND_SERVICE_LOCATION, which is then propagated to AppOpsService, allowing it to grant "while-in-use" permission to the process. This changes the minimum bar for no-restriction to UID_STATE_FOREGROUND_SERVICE_LOCATION. Bug: 111453223 Test: atest CtsAppTestCases:ActivityManagerProcessStateTest Change-Id: I25333bb2d524a6ae6d39efee088e6c94971b5db2
Loading
Please register or sign in to comment