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