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

Commit 48dd88c4 authored by Jacky Wang's avatar Jacky Wang
Browse files

[Catalyst] Observe app-ops mode change efficiently

This improvement is to reduce the number of OnOpChangedListener
registered to AppOpsManager. By listening on `null` package, only one
single OnOpChangedListener is registered, and leverage KeyedObservable
to dispatch mode change for packages.

Bug: 420743110
Flag: EXEMPT new class
Test: atest&manual
Change-Id: Icc629e56337519156e3d3bc968e942568b7af7b5
parent af2a9e60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment