diff options
| author | 2022-08-22 15:51:45 +0000 | |
|---|---|---|
| committer | 2022-08-22 23:54:11 +0000 | |
| commit | 90e99803fe7d807176a44f141a4560766e218a33 (patch) | |
| tree | fbf51b16b679ca25ffb138a9c92e02d46d78580b /libs/androidfw/StringPool.cpp | |
| parent | fb6cb879950ece9e9a3452702221828c51d975f2 (diff) | |
Revert "Revert "AppOps refactor for mode watchers.""
This reverts commit 31c2991950682e5e446d7200a54dab2682e34f01.
Reason for revert: Fixing the bug that caused the initial revert
The cause for the revert was that we called notifyOpChanged asyncly but
in the refactor we separated the listener callback and listener details
in OpModeChangedListener and ModeChangedListenerDetails respectively.
But we only passed OpModeChangedListener to notifyOpChanged relying on
an internal map to get the corresponding ModeChangedListenerDetails but
this relied on the call being synchronous.
With this CL we pass an object of ModeChangedListenerDetails within
OpModeChangedListener.
BUG: 240200048
Test: Manual
Change-Id: I5484eddb0a4081145dfdc8a638950b437ca15e8f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions