From 2cd23b6a5996d1a3685233a36e3c68931f2f44e5 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 28 Oct 2019 11:16:17 -0700 Subject: [PATCH] ServiceManagerProxy: implement new method This class is hanging around for UnsupportedAppUsage. Adding additional method to fix compilation, but it should never be called. Bug: 135686713 Test: compilation fixed Change-Id: I58022af86a53239990e057936826d0f1214acc6f --- core/java/android/os/ServiceManagerNative.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/java/android/os/ServiceManagerNative.java b/core/java/android/os/ServiceManagerNative.java index f641731fa08fe..124b6c6f73779 100644 --- a/core/java/android/os/ServiceManagerNative.java +++ b/core/java/android/os/ServiceManagerNative.java @@ -86,6 +86,10 @@ class ServiceManagerProxy implements IServiceManager { throw new RemoteException(); } + public boolean isDeclared(String name) throws RemoteException { + throw new RemoteException(); + } + /** * Same as mServiceManager but used by apps. *