40 lines
1.6 KiB
Java
40 lines
1.6 KiB
Java
package o;
|
|
|
|
import java.io.IOException;
|
|
import java.util.Collections;
|
|
|
|
/* renamed from: o.fUq, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C13238fUq implements yYF {
|
|
@Override // o.yYF
|
|
public final Iterable<EnumC2874amo> c() {
|
|
return Collections.singletonList(EnumC2874amo.APPE);
|
|
}
|
|
|
|
@Override // o.yYF
|
|
public final void d(Iterable<byte[]> iterable, C16613piz c16613piz, EnumC2874amo enumC2874amo) {
|
|
for (byte[] bArr : iterable) {
|
|
if (bArr.length == 12 && "Adobe".equalsIgnoreCase(new String(bArr, 0, 5))) {
|
|
C0629LEh c0629LEh = new C0629LEh(bArr);
|
|
C15666hbx c15666hbx = new C15666hbx();
|
|
c16613piz.c.add(c15666hbx);
|
|
try {
|
|
c0629LEh.e = false;
|
|
if (!new String(c0629LEh.a(5)).equals("Adobe")) {
|
|
BrP.b(new Object[]{c15666hbx, "Invalid Adobe JPEG data header."}, -1786863991, 1786863992, System.identityHashCode(c15666hbx));
|
|
} else {
|
|
c15666hbx.d(0, c0629LEh.h());
|
|
c15666hbx.d(1, c0629LEh.h());
|
|
c15666hbx.d(2, c0629LEh.h());
|
|
c15666hbx.d(3, c0629LEh.b());
|
|
}
|
|
} catch (IOException e) {
|
|
StringBuilder sb = new StringBuilder("IO exception processing data: ");
|
|
sb.append(e.getMessage());
|
|
BrP.b(new Object[]{c15666hbx, sb.toString()}, -1786863991, 1786863992, System.identityHashCode(c15666hbx));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|