Use start/finish app op API for mic use

Since recording is a long running operation we need to use
the start/finish app op APIs since now system UI would watch
for active mic/camera/overlay ops and badge app notifications
with icons denoting that these capabilities are being used.

Test: atest android.media.cts.AudioRecordAppOpTest

bug: 64085448

Change-Id: I47d9b507ef5d757d34d65484c112cea6cdc246e1
4 files changed