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)
diff --git a/src/com/android/calendar/alerts/AlertReceiver.kt b/src/com/android/calendar/alerts/AlertReceiver.kt
index 3175006..21afa90 100644
--- a/src/com/android/calendar/alerts/AlertReceiver.kt
+++ b/src/com/android/calendar/alerts/AlertReceiver.kt
@@ -45,12 +45,6 @@
         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 {