commit | 20d1da2b6298ade2a2390a66f98a1d12381e5e8f | [log] [tgz] |
---|---|---|
author | Yi Jiang <eejiang@google.com> | Fri Apr 02 11:46:53 2021 -0700 |
committer | Yi Jiang <eejiang@google.com> | Thu Apr 29 01:28:35 2021 -0700 |
tree | 145ba7d26d5212a9a97aa7ff4380bd3f41f081a1 | |
parent | 9246f6f8b05ec9d97ab084de6d36e351f36d1648 [diff] |
Fixes 'no ripple effect' issue for screen attention setting Preferences shouldn't be initialized at onAttach() because the settings style hasn't been loaded yet. This change defers the preferences initialization so that they comply with the settings style. Test: manually Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.display Bug: 183909540 Change-Id: I4dc4503924a1dcd5b8d41f7d27e576befb11f976