commit | 9d6d6f52563518584c58a076245051643664cab4 | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Fri Jul 26 22:27:15 2024 +0000 |
committer | Jared Duke <jdduke@google.com> | Tue Oct 15 21:28:06 2024 +0000 |
tree | 4752fb8973f787ffd0cf8816fb37c5f6290f5c30 | |
parent | cf2e1f67545760dc5c967e2ec121920b04bf4e09 [diff] |
Use WeaklyReferencedCallback annotation Apply this annotation to several callback types to ensure write-only member fields are kept during optimization, helping preserve lifecycle semantics. A follow-up change will clean up some of the @KeepForWeakReference field annotations that should no longer be necessary. Bug: 349245577 Test: FULL_SYSTEM_OPTIMIZE_JAVA=true m services Flag: EXEMPT bugfix Change-Id: Ied71a08d2b1a71b0e0789d863af6b61ae9b0918f