diff options
author | Wale Ogunwale <ogunwale@google.com> | 2017-02-28 10:40:27 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2017-03-01 15:10:17 -0800 |
commit | 5aa8683bb78dc1c637a715efde7880d9010c6870 (patch) | |
tree | 541cca1d244373af2a1c66cec4e1f67c579b54fe /tools/aapt2/diff/Diff.cpp | |
parent | 9ac082f8bb0c944513af326bda311cea3d153d56 (diff) |
Fixed some issues with alert window notifications
- Don't hold window manager lock while calling into notification
manager since it can end up calling into activity manager.
- Fixed issue with using checkCallingPermission() to check if the
system has the internal system window permission. This call fails
if it isn't a binder call. Change to use checkCallingorSelfPermission()
instead.
- Fixed class cast exception while getting app icon by using
IconUtilities class to the the drawable to bitmap convertion.
Change-Id: I4ef380618f558a8aac5b152d97536a614040397f
Fixes: 35780846
Fixes: 35846667
Fixes: 35854470
Bug: 35657567
Test: cts/hostsidetests/.../run-test CtsWindowManagerHostTestCases android.server.cts.AlertWindowsTests
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions