summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christine Franks <christyfranks@google.com> 2017-07-26 00:16:28 +0000
committer android-build-merger <android-build-merger@google.com> 2017-07-26 00:16:28 +0000
commitcb03504d21a4efc48d42efb5b26587088c82208f (patch)
treeed6fdd6cc8da7ee5bf41b1583d13edff3752367b
parent43a7e94d4b381251cf4a28964aa7cbd2ff986438 (diff)
parent4ac942f140a5f4e7a131e59b5600e777794eb813 (diff)
Merge "DO NOT MERGE - Remove RetailDemoModeServiceInternal" into oc-dr1-dev
am: 4ac942f140 Change-Id: I3d09e6fe436ae1ced8f9ed88e919f1d9bb5e52db
-rw-r--r--compiled-classes-phone1
-rw-r--r--core/java/android/app/RetailDemoModeServiceInternal.java29
-rw-r--r--services/core/java/com/android/server/power/Notifier.java6
-rw-r--r--services/profile-classes1
4 files changed, 0 insertions, 37 deletions
diff --git a/compiled-classes-phone b/compiled-classes-phone
index cf4b28b6ea8f..5f023bd8f010 100644
--- a/compiled-classes-phone
+++ b/compiled-classes-phone
@@ -441,7 +441,6 @@ android.app.ResourcesManager$1
android.app.ResourcesManager$ActivityResources
android.app.ResultInfo
android.app.ResultInfo$1
-android.app.RetailDemoModeServiceInternal
android.app.SearchableInfo
android.app.SearchableInfo$1
android.app.Service
diff --git a/core/java/android/app/RetailDemoModeServiceInternal.java b/core/java/android/app/RetailDemoModeServiceInternal.java
deleted file mode 100644
index 7ca214aae602..000000000000
--- a/core/java/android/app/RetailDemoModeServiceInternal.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License
- */
-
-package android.app;
-
-/**
- * Retail Demo Mode Service interface to be used locally inside system server
- *
- * @hide Only for use inside system server
- */
-public interface RetailDemoModeServiceInternal {
- /**
- * Used to notify RetailDemoModeService of any user activity.
- */
- public void onUserActivity();
-} \ No newline at end of file
diff --git a/services/core/java/com/android/server/power/Notifier.java b/services/core/java/com/android/server/power/Notifier.java
index f5bb082fac6d..0ecf0e1ea7a7 100644
--- a/services/core/java/com/android/server/power/Notifier.java
+++ b/services/core/java/com/android/server/power/Notifier.java
@@ -18,7 +18,6 @@ package com.android.server.power;
import android.app.ActivityManagerInternal;
import android.app.AppOpsManager;
-import android.app.RetailDemoModeServiceInternal;
import com.android.internal.app.IAppOpsService;
import com.android.internal.app.IBatteryStats;
@@ -94,7 +93,6 @@ final class Notifier {
private final ActivityManagerInternal mActivityManagerInternal;
private final InputManagerInternal mInputManagerInternal;
private final InputMethodManagerInternal mInputMethodManagerInternal;
- private final RetailDemoModeServiceInternal mRetailDemoModeServiceInternal;
private final NotifierHandler mHandler;
private final Intent mScreenOnIntent;
@@ -140,7 +138,6 @@ final class Notifier {
mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class);
mInputManagerInternal = LocalServices.getService(InputManagerInternal.class);
mInputMethodManagerInternal = LocalServices.getService(InputMethodManagerInternal.class);
- mRetailDemoModeServiceInternal = LocalServices.getService(RetailDemoModeServiceInternal.class);
mHandler = new NotifierHandler(looper);
mScreenOnIntent = new Intent(Intent.ACTION_SCREEN_ON);
@@ -587,9 +584,6 @@ final class Notifier {
}
mUserActivityPending = false;
}
- if (mRetailDemoModeServiceInternal != null) {
- mRetailDemoModeServiceInternal.onUserActivity();
- }
mPolicy.userActivity();
}
diff --git a/services/profile-classes b/services/profile-classes
index 289b113b49b6..a2189bc1e709 100644
--- a/services/profile-classes
+++ b/services/profile-classes
@@ -277,7 +277,6 @@ Landroid/app/ResourcesManager;
Landroid/app/ResourcesManager$1;
Landroid/app/ResultInfo;
Landroid/app/ResultInfo$1;
-Landroid/app/RetailDemoModeServiceInternal;
Landroid/app/SearchableInfo;
Landroid/app/SearchableInfo$1;
Landroid/app/SearchManager;