Files
frameworks_base/core/java/android/view
Sergey Volnov 5532c77904 Store hard refences in a static context and pass through only weak
references during the Content Capture Sharing.

Motivation: if the remote app is killed, we don't want a possibility of
system server holding a stroing reference (through a reference chain)
to large objects in that app. Therefore what's send in the binder has to
be a weak reference. And we will store a hard reference to those objects
in the client app's static context.

Storing hard references to objects in system_servier is less critical, because that is not going to be killed.

Bug: 148265162
Test: covered by CTS tests
Change-Id: Ie561aab6019d191cf8659fb350e045089e7781ed
(cherry picked from commit 13f65b2974)
2020-03-29 12:50:41 +00:00
..
2019-10-10 22:41:57 +00:00
2020-02-24 12:45:27 -08:00
2020-03-26 06:58:07 +00:00
2020-03-26 06:58:07 +00:00
2020-02-24 12:45:27 -08:00
2019-10-17 17:21:29 +00:00
2020-03-26 06:58:07 +00:00
2020-03-26 06:58:07 +00:00
2020-03-26 06:58:07 +00:00
2020-03-02 17:37:01 +01:00