From 1c84e7f5b6f8215db8c23ebd786da05660373228 Mon Sep 17 00:00:00 2001 From: Jon Spivack Date: Tue, 26 Nov 2019 16:58:20 -0800 Subject: ServiceManagerProxy: New method implementations This class only exists for UnsupportedAppUsage. These methods and implementations are required for compilation but should never be called. Bug: 143108344 Test: Manual (compilation and boot) Change-Id: I27111ae35ca57f7cb80b0439f78edd7f204408e9 --- core/java/android/os/ServiceManagerNative.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/java/android/os/ServiceManagerNative.java b/core/java/android/os/ServiceManagerNative.java index 124b6c6f7377..94671c8f317d 100644 --- a/core/java/android/os/ServiceManagerNative.java +++ b/core/java/android/os/ServiceManagerNative.java @@ -90,6 +90,15 @@ class ServiceManagerProxy implements IServiceManager { throw new RemoteException(); } + public void registerClientCallback(String name, IBinder service, IClientCallback cb) + throws RemoteException { + throw new RemoteException(); + } + + public void tryUnregisterService(String name, IBinder service) throws RemoteException { + throw new RemoteException(); + } + /** * Same as mServiceManager but used by apps. * -- cgit v1.2.3-59-g8ed1b