commit | 5ceaf6c56b415b049c2306f2fad6068a4a6091ec | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Wed May 24 15:05:04 2023 -0500 |
committer | Beth Thibodeau <ethibodeau@google.com> | Wed May 24 15:08:15 2023 -0500 |
tree | fc2f2e9bad36fe9f3e83575ef6fcc2e9fa00fd16 | |
parent | 6c0a668d51984eec8d718b5169732269e2b7ea99 [diff] |
Keep smartspace session object The object was getting prematurely optimized out because it wasn't referenced in code later, but it is necessary to keep alive in order to get recommendation updates. Add annotation to make sure it's kept, and explicitly close when destroy is called Bug: 273739913 Bug: 283493228 Test: manual - verify session is not destroyed after restarting SysUI Change-Id: I98bd7ce5878f9f261e1c09673faaae35e954f173