Use Configuration#unset() instead of #setToDefaults() for clearing
Now Configuration.EMPTY has fontScale set to 0 instead of default 1. To get config equal to empty unset() method should be used. Because of incorrect usage of setToDefaults() there was a black flash when exiting split-screen because override config was no completely empty. Fixing that also allows us to simplify things a bit when checking if override config changed. Bug: 31533188 Test: manual - long-press overview to enter split-screen, repeat to exit. Change-Id: I6bf7994ff88ebb42db2e2357b762857710432a58
Loading
Please register or sign in to comment