dm.java
1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import android.annotation.TargetApi;
import android.media.Rating;
import android.media.RemoteControlClient;
import android.media.RemoteControlClient.OnMetadataUpdateListener;
import android.support.annotation.RequiresApi;
@TargetApi(19)
@RequiresApi(19)
public final class dm
{
public static void a(Object paramObject1, Object paramObject2)
{
((RemoteControlClient)paramObject1).setMetadataUpdateListener((RemoteControlClient.OnMetadataUpdateListener)paramObject2);
}
public static abstract interface a
extends dl.a
{
public abstract void a(Object paramObject);
}
public static final class b<T extends dm.a>
implements RemoteControlClient.OnMetadataUpdateListener
{
protected final T a;
public b(T paramT)
{
this.a = paramT;
}
public final void onMetadataUpdate(int paramInt, Object paramObject)
{
if ((paramInt == 268435457) && ((paramObject instanceof Rating))) {
this.a.a(paramObject);
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/dm.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/