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
2 files changed