mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-06 12:29:32 +01:00
30 lines
1.2 KiB
Java
30 lines
1.2 KiB
Java
package com.google.android.exoplayer2;
|
|
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
public final class ExoTimeoutException extends Exception {
|
|
public static final int TIMEOUT_OPERATION_DETACH_SURFACE = 3;
|
|
public static final int TIMEOUT_OPERATION_RELEASE = 1;
|
|
public static final int TIMEOUT_OPERATION_SET_FOREGROUND_MODE = 2;
|
|
public static final int TIMEOUT_OPERATION_UNDEFINED = 0;
|
|
public final int timeoutOperation;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Documented
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
public @interface TimeoutOperation {
|
|
}
|
|
|
|
public ExoTimeoutException(int i) {
|
|
super(getErrorMessage(i));
|
|
this.timeoutOperation = i;
|
|
}
|
|
|
|
private static String getErrorMessage(int i) {
|
|
return i != 1 ? i != 2 ? i != 3 ? "Undefined timeout." : "Detaching surface timed out." : "Setting foreground mode timed out." : "Player release timed out.";
|
|
}
|
|
}
|