diff options
author | Hongwei Wang <hwwang@google.com> | 2021-02-24 15:18:58 -0800 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2021-04-02 00:43:13 +0000 |
commit | 1ae3e9abc135dc78120a1a65d2f598d8f6595cb6 (patch) | |
tree | 8c311f6e329716ee6dae9c4f03e9441e5be3e525 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 194d95b130b923a4dd1d54a3dd35165b17f8ef12 (diff) |
Protect the default media PiP PendingIntent
- Add permission when register broadcast receiver
- Set receiver package explicitly when constructing PendingIntent
- Do not crash if there is no active media session when receive broadcast
Bug: 171967947
Test: adb unroot; adb shell am broadcast -a \
com.android.wm.shell.pip.PLAY
Change-Id: If9c46aab9d91de633a2628513430a59a6692e59a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions