Skip to content

Commit 48c5fb1

Browse files
author
Dianne Hackborn
committed
API review: Metadata class not used.
The Metadata class doesn't actually seem to be used with anything in the SDK, and the API probably needs some work, so hide it. Change-Id: Ifecf49130b90cbb4c588ad8104f1e7957978f789
1 parent 651cdfc commit 48c5fb1

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

api/current.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10869,16 +10869,6 @@ package android.media {
1086910869
method public abstract void onScanCompleted(java.lang.String, android.net.Uri);
1087010870
}
1087110871

10872-
public class Metadata {
10873-
method public boolean getBoolean(int);
10874-
method public boolean has(int);
10875-
method public java.util.Set<java.lang.Integer> keySet();
10876-
field public static final int PAUSE_AVAILABLE = 1; // 0x1
10877-
field public static final int SEEK_AVAILABLE = 4; // 0x4
10878-
field public static final int SEEK_BACKWARD_AVAILABLE = 2; // 0x2
10879-
field public static final int SEEK_FORWARD_AVAILABLE = 3; // 0x3
10880-
}
10881-
1088210872
public class RemoteControlClient {
1088310873
ctor public RemoteControlClient(android.content.ComponentName);
1088410874
ctor public RemoteControlClient(android.content.ComponentName, android.os.Looper);

media/java/android/media/Metadata.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
4040
The caller is expected to know the type of the metadata and call
4141
the right get* method to fetch its value.
42+
43+
@hide
4244
*/
4345
public class Metadata
4446
{

0 commit comments

Comments
 (0)