Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 626a33cc authored by Chad Brubaker's avatar Chad Brubaker Committed by Chalard Jean
Browse files

Expose CONNECTIVITY_ACTION to Instant Apps

Clean cherry-pick of ag/3710436

Test: Broadcast is visible to Instant Apps
Bug: 69421898
Change-Id: Ibac92b5aa16bf1538776b90df5dc05362667e785
Merged-In: I0434f8c7292a85e25df3da2858e4d89cf55fab3d
Merged-In: I62ed2107d0b0712267a903e465cbeba6a4f0b346
parent 7784d2cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1738,6 +1738,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
                            ni != null ? ni.getState().toString() : "?");
                } catch (RemoteException e) {
                }
                intent.addFlags(Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS);
            }
            try {
                mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL, options);