package p037.p123.p124.p129.p131;

import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import p037.p123.AbstractC2562;
import p037.p123.p124.p134.p136.InterfaceC2730;

/* JADX INFO: renamed from: މ.ޗ.ޘ.ލ.ރ.ރ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C2646 extends AbstractC2639<Boolean> {

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public static final String f8274 = AbstractC2562.m4622("StorageNotLowTracker");

    public C2646(Context context, InterfaceC2730 interfaceC2730) {
        super(context, interfaceC2730);
    }

    @Override // p037.p123.p124.p129.p131.AbstractC2641
    /* JADX INFO: renamed from: ֏ */
    public Object mo4720() {
        Context context = this.f8262;
        IntentFilter intentFilter = new IntentFilter();
        intentFilter.addAction("android.intent.action.DEVICE_STORAGE_OK");
        intentFilter.addAction("android.intent.action.DEVICE_STORAGE_LOW");
        Intent intentRegisterReceiver = context.registerReceiver(null, intentFilter);
        if (intentRegisterReceiver == null || intentRegisterReceiver.getAction() == null) {
            return true;
        }
        String action = intentRegisterReceiver.getAction();
        byte b = -1;
        int iHashCode = action.hashCode();
        if (iHashCode != -1181163412) {
            if (iHashCode == -730838620 && action.equals("android.intent.action.DEVICE_STORAGE_OK")) {
                b = 0;
            }
        } else if (action.equals("android.intent.action.DEVICE_STORAGE_LOW")) {
            b = 1;
        }
        if (b != 0) {
            return b != 1 ? null : false;
        }
        return true;
    }

    @Override // p037.p123.p124.p129.p131.AbstractC2639
    /* JADX INFO: renamed from: ֏ */
    public void mo4721(Context context, Intent intent) {
        if (intent.getAction() == null) {
            return;
        }
        AbstractC2562.m4623().mo4625(f8274, String.format("Received %s", intent.getAction()), new Throwable[0]);
        String action = intent.getAction();
        byte b = -1;
        int iHashCode = action.hashCode();
        if (iHashCode != -1181163412) {
            if (iHashCode == -730838620 && action.equals("android.intent.action.DEVICE_STORAGE_OK")) {
                b = 0;
            }
        } else if (action.equals("android.intent.action.DEVICE_STORAGE_LOW")) {
            b = 1;
        }
        if (b == 0) {
            m4725(true);
        } else {
            if (b != 1) {
                return;
            }
            m4725(false);
        }
    }

    @Override // p037.p123.p124.p129.p131.AbstractC2639
    /* JADX INFO: renamed from: ށ */
    public IntentFilter mo4722() {
        IntentFilter intentFilter = new IntentFilter();
        intentFilter.addAction("android.intent.action.DEVICE_STORAGE_OK");
        intentFilter.addAction("android.intent.action.DEVICE_STORAGE_LOW");
        return intentFilter;
    }
}
