Don't require CONNECTIVITY_INTERNAL check for protected broadcasts
This change removes requirement that sender has this permission for protected broadcasts (since they can only come from framework) Bug: 17409667 Change-Id: I3431c20a4ed28b3ba2bfc3cf53772e63a3424a2c
This commit is contained in:
@@ -318,7 +318,7 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
|
||||
|
||||
// watch for tethering changes
|
||||
final IntentFilter tetherFilter = new IntentFilter(ACTION_TETHER_STATE_CHANGED);
|
||||
mContext.registerReceiver(mTetherReceiver, tetherFilter, CONNECTIVITY_INTERNAL, mHandler);
|
||||
mContext.registerReceiver(mTetherReceiver, tetherFilter, null, mHandler);
|
||||
|
||||
// listen for periodic polling events
|
||||
final IntentFilter pollFilter = new IntentFilter(ACTION_NETWORK_STATS_POLL);
|
||||
|
||||
Reference in New Issue
Block a user