Rabbit-R1/original r1/java/sources/androidx/transition/ViewUtilsApi23.java

20 lines
572 B
Java
Raw Normal View History

2024-05-21 16:08:36 -05: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;
}
}
}
}