commit | 3838cbfc3f8914c75be523549210a50e683410db | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Thu Nov 12 10:41:53 2020 -0600 |
committer | Lyn Han <lynhan@google.com> | Thu Nov 12 11:26:20 2020 -0600 |
tree | 71334b693e567d176506e8ceff747731f2dbe4c7 | |
parent | 8265afebfa9c83a781cdd9b9de4632ed1063bb90 [diff] |
Fix bug where notification text colors stop updating ColorExtractor adds onColorsChangedListener as WeakReference so we should not pass it in as anonymous lambda; otherwise it gets garbage collected eventually and notif text colors stop updating. This change adds persistent onColorsChangedListener to NSSLC. Fixes: 173107499 Bug: 172289783 Test: visual - white text on dark background and vice versa Change-Id: I42ee25fdf2ff9b40b78bae38416004249603444d