package com.bytedance.sdk.component.utils;

import android.os.Handler;
import android.os.Looper;

/* JADX INFO: loaded from: classes.dex */
public class ef {
    private static volatile Handler fm;

    public static Handler fm() {
        return com.bytedance.sdk.component.wu.fm.fm.fm().ro();
    }

    public static Handler ro() {
        if (fm == null) {
            synchronized (ef.class) {
                try {
                    if (fm == null) {
                        fm = new Handler(Looper.getMainLooper());
                    }
                } catch (Throwable th) {
                    throw th;
                }
            }
        }
        return fm;
    }
}
