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

Commit 7945a8d2 authored by Abdelrahman Daim's avatar Abdelrahman Daim Committed by Yurii Zubrytskyi
Browse files

Fix the listener in the incremental service.



Summary: The listener doesn't function as intended. The previous
listener triggers for changes matching the given code or changes
matching the package, always returning the listened code, not
the changing code.

The end result is that logging will be disabled if there are any
changes for a data loader. An example can be seen when the
device is activated and a number of changes occur, resulting in
the disable logging flow.

With this change, we listen to all changes for a given package
name. This results in the listener being called with accurate
codes, which we can then filter for.

Test: Successful Build on master branch
Flag: EXEMPT small bugfix

Signed-off-by: default avatarAbdelrahman Daim <adaim@meta.com>
(cherry picked from https://android-review.googlesource.com/q/commit:f6b8b2ab5396cebd47bffd94c03ce2d03e9725d6)
Change-Id: I44eca6cad70933eca9310a055e5839f8908a142b
parent 872d9783
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