Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a35b6960 authored by Christine Franks's avatar Christine Franks Committed by android-build-merger
Browse files

Merge "Remove RetailDemoModeServiceInternal" into oc-mr1-dev

am: cfb5d97c

Change-Id: I614791d2b37573eebfb0a1e5b6da6993267e0f62
parents 6291c931 cfb5d97c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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
+0 −29
Original line number Diff line number Diff line
/*
 * 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
+0 −6
Original line number Diff line number Diff line
@@ -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();
    }