diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-02-07 12:05:43 -0800 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-02-07 12:08:58 -0800 |
commit | 1f8ea2dcd1ed3cde4b84fbb27b5a55b3fea7ff2a (patch) | |
tree | 21db818fc9acf4130663a138ea6816a1eb3aaacf /core | |
parent | 706498d387eaceb574cf4aa982fee3c288819dad (diff) | |
download | frameworks_base-1f8ea2dcd1ed3cde4b84fbb27b5a55b3fea7ff2a.zip frameworks_base-1f8ea2dcd1ed3cde4b84fbb27b5a55b3fea7ff2a.tar.gz frameworks_base-1f8ea2dcd1ed3cde4b84fbb27b5a55b3fea7ff2a.tar.bz2 |
Send broadcast when changing restrict background.
When changing global restrict background status, send connectivity
change broadcast, since it radically changes DISCONNECTED/BLOCKED
status system-wide.
Also reduce verbose stats logging.
Bug: 5854466
Change-Id: I3b612c520f50cc3000a3a569b7e0ab5f691cc2bd
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/net/INetworkPolicyListener.aidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/net/INetworkPolicyListener.aidl b/core/java/android/net/INetworkPolicyListener.aidl index a45ec54..31dc965 100644 --- a/core/java/android/net/INetworkPolicyListener.aidl +++ b/core/java/android/net/INetworkPolicyListener.aidl @@ -21,5 +21,6 @@ oneway interface INetworkPolicyListener { void onUidRulesChanged(int uid, int uidRules); void onMeteredIfacesChanged(in String[] meteredIfaces); + void onRestrictBackgroundChanged(boolean restrictBackground); } |