Skip to content
Commit 049f105a authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 09c9df3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment