Merge "Expose CONNECTIVITY_ACTION to Instant Apps" into pi-dev
am: aa72b2036a Change-Id: I0434f8c7292a85e25df3da2858e4d89cf55fab3d
This commit is contained in:
@@ -1705,6 +1705,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
ni != null ? ni.getState().toString() : "?");
|
ni != null ? ni.getState().toString() : "?");
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
}
|
}
|
||||||
|
intent.addFlags(Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL, options);
|
mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user