dg.java 1.1 KB
import android.annotation.TargetApi;
import android.media.browse.MediaBrowser.ItemCallback;
import android.media.browse.MediaBrowser.MediaItem;
import android.os.Parcel;
import android.support.annotation.NonNull;
import android.support.annotation.RequiresApi;

@TargetApi(23)
@RequiresApi(23)
public final class dg
{
  public static abstract interface a
  {
    public abstract void a(Parcel paramParcel);
    
    public abstract void a(@NonNull String paramString);
  }
  
  public static final class b<T extends dg.a>
    extends MediaBrowser.ItemCallback
  {
    protected final T a;
    
    public b(T paramT)
    {
      this.a = paramT;
    }
    
    public final void onError(@NonNull String paramString)
    {
      this.a.a(paramString);
    }
    
    public final void onItemLoaded(MediaBrowser.MediaItem paramMediaItem)
    {
      Parcel localParcel = Parcel.obtain();
      paramMediaItem.writeToParcel(localParcel, 0);
      this.a.a(localParcel);
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/dg.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */