diff options
author | Evan Laird <evanlaird@google.com> | 2017-11-09 15:53:01 -0500 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2017-11-09 15:53:01 -0500 |
commit | 8ab04d4c8480b12d74625b1a5bdc9dde2f9d21da (patch) | |
tree | e76893e247a8dc47b020442dfb87b4eef7a04e2d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fde6ea8d29da5f9c6b321df64c8f0722d1173586 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions