- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
986 B
Java
29 lines
986 B
Java
package com.tapjoy;
|
|
|
|
import com.tapjoy.TJWebViewActivity;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class h1 implements Runnable {
|
|
public final /* synthetic */ TJTaskHandler a;
|
|
public final /* synthetic */ TJWebViewActivity.BridgeDelegate b;
|
|
|
|
public h1(TJWebViewActivity.BridgeDelegate bridgeDelegate, TJTaskHandler tJTaskHandler) {
|
|
this.b = bridgeDelegate;
|
|
this.a = tJTaskHandler;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
try {
|
|
if (this.b.getWebView() == null || this.b.getWebView().getSettings() == null) {
|
|
this.a.onComplete(Float.valueOf(1.0f));
|
|
} else {
|
|
this.a.onComplete(Float.valueOf(this.b.getWebView().getSettings().getTextZoom() / 100.0f));
|
|
}
|
|
} catch (Exception e) {
|
|
TapjoyLog.d("TJWebViewActivity", "Error getting text zoom: " + e.getMessage());
|
|
this.a.onComplete(Float.valueOf(1.0f));
|
|
}
|
|
}
|
|
}
|