eh.java 1.03 KB
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.support.annotation.RequiresApi;
import android.text.method.SingleLineTransformationMethod;
import android.view.View;
import java.util.Locale;

@TargetApi(14)
@RequiresApi(14)
final class eh
{
  public static final class a
    extends SingleLineTransformationMethod
  {
    private Locale a;
    
    public a(Context paramContext)
    {
      this.a = paramContext.getResources().getConfiguration().locale;
    }
    
    public final CharSequence getTransformation(CharSequence paramCharSequence, View paramView)
    {
      paramCharSequence = super.getTransformation(paramCharSequence, paramView);
      if (paramCharSequence != null) {
        return paramCharSequence.toString().toUpperCase(this.a);
      }
      return null;
    }
  }
}


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