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

Commit 6768421f authored by paulhu's avatar paulhu
Browse files

Remove unused ACTION_PACKAGE_ADDED intent.

ConnectivityService doesn't handle ACTION_PACKAGE_ADDED intent
now. So remove the intent from filter to prevent wtf log
happened.

Bug: 169573829
Test: atest FrameworksNetTests
Change-Id: Ifb0ae0b2e811defdecb37d3489ab3208db397331
parent 5f7d33da
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1126,7 +1126,6 @@ public class ConnectivityService extends IConnectivityManager.Stub

        // Listen to package add and removal events for all users.
        intentFilter = new IntentFilter();
        intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
        intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED);
        intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED);
        intentFilter.addDataScheme("package");