26 lines
1,022 B
Java
26 lines
1,022 B
Java
package b.a.q.k0;
|
|
|
|
import android.database.ContentObserver;
|
|
import android.os.Handler;
|
|
import com.discord.rtcconnection.audio.DiscordAudioManager;
|
|
import rx.subjects.SerializedSubject;
|
|
/* compiled from: DiscordAudioManager.kt */
|
|
public final class f extends ContentObserver {
|
|
public final /* synthetic */ DiscordAudioManager a;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public f(DiscordAudioManager discordAudioManager, Handler handler) {
|
|
super(handler);
|
|
this.a = discordAudioManager;
|
|
}
|
|
|
|
@Override // android.database.ContentObserver
|
|
public void onChange(boolean z2) {
|
|
super.onChange(z2);
|
|
DiscordAudioManager discordAudioManager = this.a;
|
|
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
|
discordAudioManager.w = streamVolume;
|
|
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2760y;
|
|
serializedSubject.k.onNext(Integer.valueOf(streamVolume));
|
|
}
|
|
}
|