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


package com.iBookStar.activityComm;

import android.app.Activity;
import android.os.Bundle;
import com.iBookStar.utils.k;
import com.iBookStar.utils.s;
import com.iBookStar.views.YmConfig;

public class SchemeActivity extends Activity {
    private void a() {
        String scheme = getIntent().getScheme();
        if ((getPackageName() + ".novel").equalsIgnoreCase(scheme) || "yuemeng".equalsIgnoreCase(scheme)) {
            String string = k.b(getIntent().getData().getEncodedQuery()).getString("url");
            if (s.c(string)) {
                YmConfig.openReader(string);
            } else {
                YmConfig.openReader();
            }
        }
    }

    /* access modifiers changed from: protected */
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        a();
        finish();
    }
}