package ῲ.ᨨ.ῲ.ῲ;

import android.content.res.Resources;
import android.util.Log;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/* renamed from: ῲ.ᨨ.ῲ.ῲ.㿎  reason: contains not printable characters */
/* compiled from: ResourcesCompat */
public class C1805 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public static boolean f6165;

    /* renamed from: ῲ  reason: contains not printable characters */
    public static Method f6166;

    /* renamed from: K  reason: contains not printable characters */
    public static final Object f6167 = new Object();

    /* renamed from: K  reason: contains not printable characters */
    public static void m4682(Resources.Theme theme) {
        synchronized (f6167) {
            if (!f6165) {
                try {
                    f6166 = Resources.Theme.class.getDeclaredMethod("rebase", new Class[0]);
                    f6166.setAccessible(true);
                } catch (NoSuchMethodException e) {
                    Log.i("ResourcesCompat", "Failed to retrieve rebase() method", e);
                }
                f6165 = true;
            }
            if (f6166 != null) {
                try {
                    f6166.invoke(theme, new Object[0]);
                } catch (IllegalAccessException | InvocationTargetException e2) {
                    Log.i("ResourcesCompat", "Failed to invoke rebase() method via reflection", e2);
                    f6166 = null;
                }
            }
        }
    }
}
