OSDN Git Service

Restore some greylist entries.
authorMathew Inwood <mathewi@google.com>
Fri, 28 Jun 2019 09:16:07 +0000 (10:16 +0100)
committerMathew Inwood <mathewi@google.com>
Fri, 28 Jun 2019 09:21:36 +0000 (09:21 +0000)
In Q, these APIs were either:
- removed from the greylist entirely without good reason
- Moved to the restricted greylist without any public alternative
  information added

So they are being moved back to the greylist for Q.

Test: Treehugger
Bug: 136102585
Change-Id: I6518440a7b0de8292ad05b4df9f0f9580d18b2a5

media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl

index 8238b8c..7e3f2f8 100644 (file)
@@ -19,7 +19,9 @@ oneway interface IMediaBrowserServiceCallbacks {
      *         the playback of the media app.
      * @param extra Extras returned by the media service.
      */
+    @UnsupportedAppUsage
     void onConnect(String root, in MediaSession.Token session, in Bundle extras);
+    @UnsupportedAppUsage
     void onConnectFailed();
     void onLoadChildren(String mediaId, in ParceledListSlice list);
     void onLoadChildrenWithOptions(String mediaId, in ParceledListSlice list,