翰林优商.apk(点击下载) / g.java


package com.sigmob.sdk.base.common;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import com.czhj.sdk.common.utils.ViewUtil;
import com.czhj.sdk.logger.SigmobLog;
import java.util.Map;

public abstract class g {
    protected String a;
    protected Context b;
    protected RelativeLayout c;
    protected h d;

    protected g(Context context, String str, h hVar) {
        this.b = context.getApplicationContext();
        this.a = str;
        this.d = hVar;
        this.c = new RelativeLayout(context);
    }

    public void a(int i, int i2, Intent intent) {
    }

    public abstract void a(Configuration configuration);

    public abstract void a(Bundle bundle);

    /* access modifiers changed from: protected */
    public void a(String str) {
        String str2 = this.a;
        if (str2 != null) {
            BaseBroadcastReceiver.a(this.b, str2, str);
        } else {
            SigmobLog.w("Tried to broadcast a video event without a broadcast identifier to send to.");
        }
    }

    /* access modifiers changed from: protected */
    public void a(String str, int i) {
        String str2 = this.a;
        if (str2 != null) {
            BaseBroadcastReceiver.a(this.b, str2, str, i);
        } else {
            SigmobLog.w("Tried to broadcast a video event without a broadcast identifier to send to.");
        }
    }

    /* access modifiers changed from: protected */
    public void a(String str, Map<String, Object> map) {
        String str2 = this.a;
        if (str2 != null) {
            BaseBroadcastReceiver.a(this.b, str2, map, str, 0);
        } else {
            SigmobLog.w("Tried to broadcast a video event without a broadcast identifier to send to.");
        }
    }

    public abstract void b();

    public abstract void c();

    public abstract void d();

    public abstract void e();

    public abstract void f();

    public boolean g() {
        return true;
    }

    /* access modifiers changed from: protected */
    public h h() {
        return this.d;
    }

    /* access modifiers changed from: protected */
    public Context i() {
        return this.b;
    }

    /* access modifiers changed from: protected */
    public ViewGroup j() {
        return this.c;
    }

    /* access modifiers changed from: protected */
    public Activity k() {
        return ViewUtil.getActivityFromViewTop(this.c);
    }
}