@@ -1950,6 +1950,33 @@ public abstract void sendBroadcast(@RequiresPermission Intent intent,
19501950 public abstract void sendBroadcastMultiplePermissions (Intent intent ,
19511951 String [] receiverPermissions );
19521952
1953+ /**
1954+ * Broadcast the given intent to all interested BroadcastReceivers, allowing
1955+ * an array of required permissions to be enforced. This call is asynchronous; it returns
1956+ * immediately, and you will continue executing while the receivers are run. No results are
1957+ * propagated from receivers and receivers can not abort the broadcast. If you want to allow
1958+ * receivers to propagate results or abort the broadcast, you must send an ordered broadcast
1959+ * using {@link #sendOrderedBroadcast(Intent, String)}.
1960+ *
1961+ * <p>See {@link BroadcastReceiver} for more information on Intent broadcasts.
1962+ *
1963+ * @param intent The Intent to broadcast; all receivers matching this
1964+ * Intent will receive the broadcast.
1965+ * @param user The user to send the broadcast to.
1966+ * @param receiverPermissions Array of names of permissions that a receiver must hold
1967+ * in order to receive your broadcast.
1968+ * If null or empty, no permissions are required.
1969+ *
1970+ * @see android.content.BroadcastReceiver
1971+ * @see #registerReceiver
1972+ * @see #sendBroadcast(Intent)
1973+ * @see #sendOrderedBroadcast(Intent, String)
1974+ * @see #sendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, int, String, Bundle)
1975+ * @hide
1976+ */
1977+ public abstract void sendBroadcastAsUserMultiplePermissions (Intent intent , UserHandle user ,
1978+ String [] receiverPermissions );
1979+
19531980 /**
19541981 * Broadcast the given intent to all interested BroadcastReceivers, allowing
19551982 * an optional required permission to be enforced. This
0 commit comments