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

Skip to content
Commit d081c041 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

RemoteActionShortcut: try avoiding Activity leaks.

Hold a WeakReference into the closure, allowing the Activity to be
GC'ed if nobody else is keeping it alive.

Bug: 255833934
Test: atest --rerun-until-failure 100 NexusLauncherTests:WellbeingTests
Change-Id: Ica06d10a442390fe499d4d75e985d3510e2e63e1
parent 0b799ce3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment