Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d6d6f52 authored by Jared Duke's avatar Jared Duke
Browse files

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
parent cf2e1f67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment