summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/ThrottleService.java
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2010-04-08 14:12:33 -0700
committerIrfan Sheriff <isheriff@google.com>2010-04-08 16:53:32 -0700
commitc9b6851af68bdc20c4903b16c344e9f116647219 (patch)
tree130ec1c124f3cd2c7ef6dbe98d18c6bae8de413a /services/java/com/android/server/ThrottleService.java
parent267f0a6b683a2de75450afee59d2058b292c72c8 (diff)
downloadframeworks_base-c9b6851af68bdc20c4903b16c344e9f116647219.zip
frameworks_base-c9b6851af68bdc20c4903b16c344e9f116647219.tar.gz
frameworks_base-c9b6851af68bdc20c4903b16c344e9f116647219.tar.bz2
Throttling framework addins
Add ThrottleManager in getSystemService Add API for URL fetch Bug: 2576057 Change-Id: Icd25c8b91ea4beea15c74e8ad7292ab48c962253
Diffstat (limited to 'services/java/com/android/server/ThrottleService.java')
-rw-r--r--services/java/com/android/server/ThrottleService.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/java/com/android/server/ThrottleService.java b/services/java/com/android/server/ThrottleService.java
index 99dbfd5..64153b9 100644
--- a/services/java/com/android/server/ThrottleService.java
+++ b/services/java/com/android/server/ThrottleService.java
@@ -157,6 +157,12 @@ public class ThrottleService extends IThrottleManager.Stub {
return 0;
}
+ public String getHelpUri() {
+ enforceAccessPermission();
+ return Settings.Secure.getString(mContext.getContentResolver(),
+ Settings.Secure.THROTTLE_HELP_URI);
+ }
+
public synchronized long getByteCount(String iface, int dir, int period, int ago) {
enforceAccessPermission();
if (iface.equals(mPolicyIface) &&