diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-07-06 17:38:59 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-07-06 17:39:21 -0600 |
commit | 8a918b13a814ae8985e283aa42e68f32b677d8b1 (patch) | |
tree | 2ca2f2f3b9db9ec0bedf0e79d6f77d7a5db12dc3 /tools/aapt2/diff/Diff.cpp | |
parent | 400960a40e84f7f0968b3019ac3c01fcf4954575 (diff) |
Snapshot RemoteViews before releasing lock.
The MSG_NOTIFY_UPDATE_APP_WIDGET message is sent asynchronously,
meaning it tries sending RemoteViews without the lock held, possibly
while another Binder thread is trying to mutate it.
Fix this by creating a copy for the thread to safely dispatch.
Bug: 29889779
Change-Id: I341fbbf89abee97a66cd67f1dd2a728282b68bfa
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions