commit | 6d35daf8598036245416a19e58e8ce831af1d40e | [log] [tgz] |
---|---|---|
author | Selim Gurun <sgurun@google.com> | Wed May 15 21:30:26 2019 -0700 |
committer | Selim Gurun <sgurun@google.com> | Fri May 17 01:13:24 2019 +0000 |
tree | 6567adc30f2cc47db40d40d0697ac30361f295a8 | |
parent | 22eb41e1e1ac677dd672cf3dc646487c35c0ed84 [diff] |
Make inner class static CarPropertyEventListenerToService is defined as an inner class rather than a nested static class. This causes it to keep a reference to the CarPropertyManager class (even though it uses a weakreference internally and keep it alive even when it does not need to. Bug: 132919164 Test: Compile Change-Id: I3f155e27f7c85d72265b5ceb506df79acb59715b (cherry picked from commit 24f9079412ee80d6dfd769486b5622bcf2ec733e)