[Permissions Hub Refactor] Expose AppOpsManager#OnOpNotedListener and
AppOpsManager#start/stopWatchingNoted as System API * Expose AppOpsManager#OnOpNotedListener and AppOpsManager#start/stopWatchingNoted as System API as we would like Permissions Hub UI to listen for app op notes to update its UI (which shows apps that have recently accessed permissions) * Current these methods take integer op as parameter which is not allowed for API (String op names need to be used instead), so we need to separate into different interfaces for internal/external use. Refactor existing usages of OnOpNotedListener to use OnOpNotedListenerInternal instead. Bug: 258257361 Test: atest CtsAppOpTestCases:AppOpsTest Change-Id: I3d87e6e33ec6fdafed4b3b2f6d029a8fb47bf355
Loading
Please register or sign in to comment