dm.java 1.13 KB
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
 */