commit | d9bdeafe811e24d2bee3b2025b77d02ac6b8cbd9 | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Mon Mar 13 16:59:33 2023 -0500 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 06 00:36:17 2023 +0000 |
tree | fd86fa8e1bff5da8013bbc574030b291474055e7 | |
parent | 0f857518e3dd6490508a88ceac39309e77cb231b [diff] |
Use PendingIntent for media click action over lockscreen The clickIntent is provided by apps as the notification's contentIntent, and it should be sent as is. This fixes the case where the intent called an activity that could show over lockscreen. Bug: 271845008 Test: atest MediaControlPanelTest Test: manually with test app (cherry picked from commit cb2904c7ff653a87cc98904bcb3bcb9c3b6e06ea) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:223e9c5839308d8cd2e14242315a0e27a5154258) Merged-In: I09d64452c46c4d21b9d958570020b2f5e6c2b23f Change-Id: I09d64452c46c4d21b9d958570020b2f5e6c2b23f