Rabbit-R1/switch port/java/sources/androidx/transition/ViewUtilsApi23.java

20 lines
572 B
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package androidx.transition;
import android.view.View;
/* loaded from: classes2.dex */
class ViewUtilsApi23 extends ViewUtilsApi22 {
private static boolean sTryHiddenSetTransitionVisibility = true;
@Override // androidx.transition.ViewUtilsBase
public void setTransitionVisibility(View view, int i) {
if (sTryHiddenSetTransitionVisibility) {
try {
view.setTransitionVisibility(i);
} catch (NoSuchMethodError unused) {
sTryHiddenSetTransitionVisibility = false;
}
}
}
}