content: package android.support.v4.media;
  
  import android.media.AudioAttributes;
  import android.util.Log;
  import java.lang.reflect.InvocationTargetException;
  import java.lang.reflect.Method;
  
  class AudioAttributesCompatApi21 {
    private static final String TAG = "AudioAttributesCompat";
    
    private static Method sAudioAttributesToLegacyStreamType;
    
    public static int toLegacyStreamType(Wrapper paramWrapper) {
      AudioAttributes audioAttributes = paramWrapper.unwrap();
      try {
        if (sAudioAttributesToLegacyStreamType == null)
          sAudioAttributesToLegacyStreamType = AudioAttributes.class.getMethod("toLegacyStreamType", new Class[] { AudioAttributes.class }); 
        return ((Integer)sAudioAttributesToLegacyStreamType.invoke(null, new Object[] { audioAttributes })).intValue();
      } catch (NoSuchMethodException noSuchMethodException) {
      
      } catch (InvocationTargetException invocationTargetException) {
      
      } catch (IllegalAccessException illegalAccessException) {
      
      } catch (ClassCastException classCastException) {}
      Log.w("AudioAttributesCompat", "getLegacyStreamType() failed on API21+", classCastException);
      return -1;
    }
    
    static final class Wrapper {
      private AudioAttributes mWrapped;
      
      private Wrapper(AudioAttributes param1AudioAttributes) {
        this.mWrapped = param1AudioAttributes;
      }
      
      public static Wrapper wrap(AudioAttributes param1AudioAttributes) {
        if (param1AudioAttributes != null)
          return new Wrapper(param1AudioAttributes); 
        throw new IllegalArgumentException("AudioAttributesApi21.Wrapper cannot wrap null");
      }
      
      public AudioAttributes unwrap() {
        return this.mWrapped;
      }
    }
  }
  
  
  /* Location:              F:\何章易\项目文件夹\项目24\va\classes_merge.jar!\android\support\v4\media\AudioAttributesCompatApi21.class
   * Java compiler version: 6 (50.0)
   * JD-Core Version:       1.1.3
   */