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

Skip to content
Commit fd5b145e authored by Karishma Vakil's avatar Karishma Vakil
Browse files

[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
parent 060e7605
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