39 lines
1.0 KiB
Java
39 lines
1.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
|
||
|
/* renamed from: o.nL, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C16304nL extends C16157lj {
|
||
|
@InterfaceC13391fZD
|
||
|
public C16304nL(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
}
|
||
|
|
||
|
public static C0487Hs a(SNi sNi) {
|
||
|
String str;
|
||
|
C0487Hs c0487Hs = new C0487Hs();
|
||
|
c0487Hs.g = sNi.g;
|
||
|
c0487Hs.i = sNi.h;
|
||
|
c0487Hs.a = sNi.a;
|
||
|
if (gjJ.b((CharSequence) sNi.b)) {
|
||
|
str = sNi.c;
|
||
|
} else {
|
||
|
str = sNi.b;
|
||
|
}
|
||
|
c0487Hs.c = str;
|
||
|
c0487Hs.d = sNi.d;
|
||
|
c0487Hs.h = sNi.c;
|
||
|
try {
|
||
|
c0487Hs.e = a(Double.valueOf(Double.parseDouble(sNi.f.replaceAll("\\.0*$", ""))));
|
||
|
} catch (NumberFormatException e) {
|
||
|
guQ.e(e);
|
||
|
c0487Hs.e = sNi.f;
|
||
|
}
|
||
|
c0487Hs.b = sNi.e;
|
||
|
c0487Hs.f = true;
|
||
|
return c0487Hs;
|
||
|
}
|
||
|
}
|