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

Commit 711bf121 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.

Fix: 420743110
Flag: EXEMPT new class
Test: atest&manual
Change-Id: I2127e7b0691a7bd1585dc0a64d6cbf804af53546
parent ddcbe54f
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