summaryrefslogtreecommitdiffstats
path: root/api/system-removed.txt
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2015-02-24 18:53:21 -0800
committerJeff Brown <jeffbrown@google.com>2015-02-25 17:04:13 -0800
commit6e53931f49f49245deef8622eb8e7dc6ccf04536 (patch)
tree0b7101049fca594901d09a089ba1f9588053cd1e /api/system-removed.txt
parentddd30928a7d8f410d7d13d5706da44ba20bac440 (diff)
downloadframeworks_base-6e53931f49f49245deef8622eb8e7dc6ccf04536.zip
frameworks_base-6e53931f49f49245deef8622eb8e7dc6ccf04536.tar.gz
frameworks_base-6e53931f49f49245deef8622eb8e7dc6ccf04536.tar.bz2
Add Context.getSystemService(Class<?>).
Added an overload of getSystemService() that takes a class instead of a service name to eliminate the extra cast and provide more type safety. Cleaned up docs. Removed the default constructor of BatteryManager which should not have existed. Change-Id: I9da46b20641fc83ecd3342560e5b94cb721f289c
Diffstat (limited to 'api/system-removed.txt')
-rw-r--r--api/system-removed.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/system-removed.txt b/api/system-removed.txt
index 9322973..8668a77 100644
--- a/api/system-removed.txt
+++ b/api/system-removed.txt
@@ -16,6 +16,10 @@ package android.net {
package android.os {
+ public class BatteryManager {
+ ctor public BatteryManager();
+ }
+
public final class PowerManager {
method public void goToSleep(long);
method public deprecated void userActivity(long, boolean);