SharedPreferencesCompat.java 935 Bytes
package android.support.v4.content;

import android.content.SharedPreferences.Editor;
import android.support.annotation.NonNull;

public final class SharedPreferencesCompat
{
  public static final class EditorCompat
  {
    private static EditorCompat a;
    private final a b = new a();
    
    public static EditorCompat getInstance()
    {
      if (a == null) {
        a = new EditorCompat();
      }
      return a;
    }
    
    public final void apply(@NonNull SharedPreferences.Editor paramEditor)
    {
      try
      {
        paramEditor.apply();
        return;
      }
      catch (AbstractMethodError localAbstractMethodError)
      {
        paramEditor.commit();
      }
    }
    
    static final class a {}
  }
}


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