Avoid incorrectly overriding while-in-use reason.
Only set mAllowWhileInUsePermissionInFgsReason when the while-in-use permission flag (mAllowWhileInUsePermissionInFgs) is set to true. Bug: 285372293 Test: atest CtsJobSchedulerTestCases:UserInitiatedJobTest Change-Id: Ifcab71f6d4847d5338c628185887990c65bf73a6
Loading
Please register or sign in to comment