OSDN Git Service

Annotate bindServiceAsUser with SystemApi
authorAmith Yamasani <yamasani@google.com>
Thu, 11 Sep 2014 23:47:17 +0000 (16:47 -0700)
committerAmith Yamasani <yamasani@google.com>
Thu, 11 Sep 2014 23:47:17 +0000 (16:47 -0700)
Bug: 17470388
Change-Id: I0961e6ebabaffd91e3d152074b2f64ca4f9ba8fb

core/java/android/content/Context.java

index 61dd747..4f20705 100644 (file)
@@ -2037,6 +2037,7 @@ public abstract class Context {
      * argument for use by system server and other multi-user aware code.
      * @hide
      */
+    @SystemApi
     public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, UserHandle user) {
         throw new RuntimeException("Not implemented. Must override in a subclass.");
     }