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
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user