commit | c5b1b565b6fed5cfeff4e1d15c60f17080e4a408 | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Tue Apr 14 13:18:41 2020 -0400 |
committer | Beverly Tai <beverlyt@google.com> | Tue Apr 14 20:13:29 2020 +0000 |
tree | dbfe92a6ef9f81332442e19e09013ae3119d1ebc | |
parent | a018ca00cfaa872716e59d17c5b7ccaa7347ef68 [diff] |
Fix ScreenDecorations user switch bug If a configuration change occurs right after creating a new user, ScreenDecorations could try to get the SecureSetting for a user that hasn't been set up yet. Instead, rely on the broadcast receiver to receive the USER_SWITCH broadcast to update the SecureSetting for color inversion. Test: manual Fixes: 152725163 Change-Id: I9d0b454b1b5d87d09a8bf995c283e435028fe2c6