diff options
author | Raman Tenneti <rtenneti@google.com> | 2021-09-16 17:22:53 -0700 |
---|---|---|
committer | Raman Tenneti <rtenneti@google.com> | 2021-09-30 21:50:14 +0000 |
commit | 934500069bab6f78683cfe5a3444374b5679618f (patch) | |
tree | 201c14009cd264d034ab3e7c298b111f7693715b | |
parent | 37b33cca73f15fb33c3aaa0a8c51df7be5cce762 (diff) | |
download | Calendar-934500069bab6f78683cfe5a3444374b5679618f.tar.gz |
AOSP/Calendar - Fix closing of system dialogs broadcast without permission.
Deleted closeNotificationShade method thus not invoking ACTION_CLOSE_SYSTEM_DIALOGS intent.
Making same changes as java from https://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/Calendar/+/15845189
Test: are done in ag/15845189 and on aosp-master
Bug: 190403923
Bug: 201673759
Change-Id: I39bc668a5671cce94372063246c13bc09dd569fa
(cherry picked from commit 21ea50b26386b3a68db5fef6f8d2519db596debf)
-rw-r--r-- | src/com/android/calendar/alerts/AlertReceiver.kt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/calendar/alerts/AlertReceiver.kt b/src/com/android/calendar/alerts/AlertReceiver.kt index 31750065..21afa90c 100644 --- a/src/com/android/calendar/alerts/AlertReceiver.kt +++ b/src/com/android/calendar/alerts/AlertReceiver.kt @@ -45,12 +45,6 @@ class AlertReceiver : BroadcastReceiver() { if (AlertService.DEBUG) { Log.d(TAG, "onReceive: a=" + intent.getAction().toString() + " " + intent.toString()) } - closeNotificationShade(context) - } - - private fun closeNotificationShade(context: Context) { - val closeNotificationShadeIntent = Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS) - context.sendBroadcast(closeNotificationShadeIntent) } companion object { |