summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-08-30 17:54:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-08-30 17:54:37 +0000
commitd6b5bdf07d4a44bed1fbe9138e4c3e303a591fbe (patch)
tree1dcfce3367e3031475f4165830e513caa7989ec9 /core/java
parent07dfc766d88c4d4c5f9138c2f9119b4a978359ee (diff)
parentd9b00ae794271c8d4b36b51ebbdec798887a2fbd (diff)
Merge changes from topic "wait-for-aidl" into stage-aosp-master
* changes: PowerManagerService: use waitForService. ServiceManagerProxy: add APIs.
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/os/ServiceManagerNative.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/os/ServiceManagerNative.java b/core/java/android/os/ServiceManagerNative.java
index 7991cd46b65c..f641731fa08f 100644
--- a/core/java/android/os/ServiceManagerNative.java
+++ b/core/java/android/os/ServiceManagerNative.java
@@ -76,6 +76,16 @@ class ServiceManagerProxy implements IServiceManager {
return mServiceManager.listServices(dumpPriority);
}
+ public void registerForNotifications(String name, IServiceCallback cb)
+ throws RemoteException {
+ throw new RemoteException();
+ }
+
+ public void unregisterForNotifications(String name, IServiceCallback cb)
+ throws RemoteException {
+ throw new RemoteException();
+ }
+
/**
* Same as mServiceManager but used by apps.
*