Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bb866ad2 authored by Hui Yu's avatar Hui Yu
Browse files

Change camera/microphone AppOps cutoff to PROCESS_STATE_BOUND_FOREGROUND_SERVICE

Camera/microphone access implicitly is while-in-use, current cutoff is PROCESS_STATE_IMPORTANT_BACKGROUND(7).

The location while-in-use cutoff is PROCESS_STATE_BOUND_FOREGROUND_SERVICE(5).

Change camera/microphone while-in-use cutoff to the same as location while-in-use.

Bug: 150795294
Test: atest atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java
Change-Id: I77742bd754b5ceb98f5976f682e096d1b6acaf55
parent af003c10
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