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

Skip to content
Commit 8ab04d4c authored by Evan Laird's avatar Evan Laird
Browse files

Don't send PLUGIN_CHANGED broadcast unless something changed

If a plugin changes the layout (e.g., CameraCutout changing status bar
height), the preference screen will call persistBoolean, which would
always cause PLUGIN_CHANGED to be broadcasted. This causes bad infinite
loops.

Test: install CameraCutout plugin and navigate to Settings > Sysui tuner
> Plugins and watch it loop a lot

Change-Id: Id340bbfb0864508f1895bbd1e6cb2849a839bad8
parent fde6ea8d
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