diff options
author | Bryce Lee <brycelee@google.com> | 2017-02-15 17:47:25 -0800 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2017-02-23 07:18:53 -0800 |
commit | a3320fe80cf0184d83e9169143f3abcc78359f90 (patch) | |
tree | b39f03cf36ae9dd125664677078e34c00a673a1e /tools/aapt2/diff/Diff.cpp | |
parent | a1d548024dc1c8df6257c804225eb7ff8202c97b (diff) |
Have VirtualDisplayDevice handle Binder death directly.
Previously, the VirtualDisplayDevice delegated its cleanup to the
parent VirtualDisplayAdapter. The adapter looked up the device
from an AppToken mapping. It is possible for this mapping to not
include the token, leading to the device not being destroyed.
This changelist has the VirtualDisplayDevice take care of calling
destroy on itself. It still informs the adapter of this event for
bookkeeping/cleanup purposes.
Fixes: 26221019
Test: Verified through adb shell dumpsys activity activities that the
virtual displays were removed upon app kill after the
MediaProjection for these displays ended.
Change-Id: I500fdc87618632184f5d3c9821ccf1979f460595
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions