Files
rr3-apk/decompiled/sources/com/fyber/inneractive/sdk/player/mediaplayer/d.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

31 lines
1.1 KiB
Java

package com.fyber.inneractive.sdk.player.mediaplayer;
import android.media.AudioManager;
import com.fyber.inneractive.sdk.util.IAlog;
/* loaded from: classes2.dex */
public final class d implements Runnable {
public final /* synthetic */ a a;
public d(a aVar) {
this.a = aVar;
}
@Override // java.lang.Runnable
public final void run() {
a aVar = this.a;
String c = aVar.c();
long currentTimeMillis = System.currentTimeMillis();
AudioManager audioManager = (AudioManager) aVar.a.getSystemService("audio");
int streamVolume = audioManager.getStreamVolume(3);
int streamMaxVolume = audioManager.getStreamMaxVolume(3);
float f = streamVolume / streamMaxVolume;
IAlog.a("%s unmute maxVolume = %d currentVolume = %d targetVolume = %s", aVar.c(), Integer.valueOf(streamMaxVolume), Integer.valueOf(streamVolume), Float.valueOf(f));
if (f == 0.0f) {
f = 0.1f;
}
aVar.setVolume(f, f);
IAlog.e(c + "timelog: unmute took " + (System.currentTimeMillis() - currentTimeMillis) + " msec", new Object[0]);
}
}