diff options
| author | Lyn Han <lynhan@google.com> | 2020-11-12 10:41:53 -0600 |
|---|---|---|
| committer | Lyn Han <lynhan@google.com> | 2020-11-12 11:26:20 -0600 |
| commit | 3838cbfc3f8914c75be523549210a50e683410db (patch) | |
| tree | 71334b693e567d176506e8ceff747731f2dbe4c7 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| 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
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
