summaryrefslogtreecommitdiff
path: root/core/java/android/content/ContextWrapper.java
diff options
context:
space:
mode:
authorChris Tate <ctate@android.com>2017-01-19 01:09:52 +0000
committerChris Tate <ctate@android.com>2017-01-19 01:12:19 +0000
commit9e83cbbc10014b3ed560b3181f594868cd89f9ae (patch)
tree4171a4fb0aac65969c1f46d83614405b70ad008e /core/java/android/content/ContextWrapper.java
parent0e39a438bfa5c279d361cf59e745df1d326c57ba (diff)
Revert "Enable background restrictions"
This reverts commit 21f778060badb1e78bffde05e8de7662d275003d. Change-Id: I65586f9739da84fb32b51b0ea166b8288c41d1b3
Diffstat (limited to 'core/java/android/content/ContextWrapper.java')
-rw-r--r--core/java/android/content/ContextWrapper.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/java/android/content/ContextWrapper.java b/core/java/android/content/ContextWrapper.java
index b131eccbe48a..e437de0fb9ba 100644
--- a/core/java/android/content/ContextWrapper.java
+++ b/core/java/android/content/ContextWrapper.java
@@ -20,7 +20,6 @@ import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.app.IApplicationThread;
import android.app.IServiceConnection;
-import android.app.Notification;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;
@@ -624,13 +623,6 @@ public class ContextWrapper extends Context {
return mBase.startService(service);
}
- /** @hide */
- @Override
- public ComponentName startServiceInForeground(Intent service,
- int id, Notification notification) {
- return mBase.startServiceInForeground(service, id, notification);
- }
-
@Override
public boolean stopService(Intent name) {
return mBase.stopService(name);
@@ -644,13 +636,6 @@ public class ContextWrapper extends Context {
/** @hide */
@Override
- public ComponentName startServiceInForegroundAsUser(Intent service,
- int id, Notification notification, UserHandle user) {
- return mBase.startServiceInForegroundAsUser(service, id, notification, user);
- }
-
- /** @hide */
- @Override
public boolean stopServiceAsUser(Intent name, UserHandle user) {
return mBase.stopServiceAsUser(name, user);
}