NetMirror.apk
Download file
package androidx.emoji2.text;
import android.content.Context;
import androidx.emoji2.text.f;
import androidx.lifecycle.AbstractC0299g;
import androidx.lifecycle.InterfaceC0295c;
import androidx.lifecycle.ProcessLifecycleInitializer;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ThreadPoolExecutor;
/* JADX INFO: loaded from: classes.dex */
public class EmojiCompatInitializer implements H.a {
static class a extends f.c {
protected a(Context context) {
super(new b(context));
b(1);
}
}
static class b implements f.h {
/* JADX INFO: renamed from: a, reason: collision with root package name */
private final Context f4747a;
class a extends f.i {
/* JADX INFO: renamed from: a, reason: collision with root package name */
final /* synthetic */ f.i f4748a;
/* JADX INFO: renamed from: b, reason: collision with root package name */
final /* synthetic */ ThreadPoolExecutor f4749b;
a(f.i iVar, ThreadPoolExecutor threadPoolExecutor) {
this.f4748a = iVar;
this.f4749b = threadPoolExecutor;
}
@Override // androidx.emoji2.text.f.i
public void a(Throwable th) {
try {
this.f4748a.a(th);
} finally {
this.f4749b.shutdown();
}
}
@Override // androidx.emoji2.text.f.i
public void b(o oVar) {
try {
this.f4748a.b(oVar);
} finally {
this.f4749b.shutdown();
}
}
}
b(Context context) {
this.f4747a = context.getApplicationContext();
}
@Override // androidx.emoji2.text.f.h
public void a(final f.i iVar) {
final ThreadPoolExecutor threadPoolExecutorB = androidx.emoji2.text.c.b("EmojiCompatInitializer");
threadPoolExecutorB.execute(new Runnable() { // from class: androidx.emoji2.text.g
@Override // java.lang.Runnable
public final void run() {
this.f4789b.d(iVar, threadPoolExecutorB);
}
});
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX INFO: renamed from: c, reason: merged with bridge method [inline-methods] */
public void d(f.i iVar, ThreadPoolExecutor threadPoolExecutor) {
try {
k kVarA = d.a(this.f4747a);
if (kVarA == null) {
throw new RuntimeException("EmojiCompat font provider not available on this device.");
}
kVarA.c(threadPoolExecutor);
kVarA.a().a(new a(iVar, threadPoolExecutor));
} catch (Throwable th) {
iVar.a(th);
threadPoolExecutor.shutdown();
}
}
}
static class c implements Runnable {
c() {
}
@Override // java.lang.Runnable
public void run() {
try {
androidx.core.os.h.a("EmojiCompat.EmojiCompatInitializer.run");
if (f.i()) {
f.c().l();
}
} finally {
androidx.core.os.h.b();
}
}
}
@Override // H.a
public List a() {
return Collections.singletonList(ProcessLifecycleInitializer.class);
}
@Override // H.a
/* JADX INFO: renamed from: c, reason: merged with bridge method [inline-methods] */
public Boolean b(Context context) {
f.h(new a(context));
d(context);
return Boolean.TRUE;
}
void d(Context context) {
final AbstractC0299g abstractC0299gT = ((androidx.lifecycle.l) androidx.startup.a.e(context).f(ProcessLifecycleInitializer.class)).t();
abstractC0299gT.a(new InterfaceC0295c() { // from class: androidx.emoji2.text.EmojiCompatInitializer.1
@Override // androidx.lifecycle.InterfaceC0295c
public void a(androidx.lifecycle.l lVar) {
EmojiCompatInitializer.this.e();
abstractC0299gT.c(this);
}
});
}
void e() {
androidx.emoji2.text.c.d().postDelayed(new c(), 500L);
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file