/*
 * Decompiled with CFR 0_110.
 * 
 * Could not load the following classes:
 *  android.content.Context
 *  android.content.Intent
 *  android.os.Bundle
 *  android.os.Handler
 *  android.util.Log
 *  android.view.View
 *  android.view.Window
 *  android.widget.ImageView
 *  android.widget.TextView
 *  java.lang.CharSequence
 *  java.lang.Class
 *  java.lang.Exception
 *  java.lang.Object
 *  java.lang.Runnable
 *  java.lang.String
 */
package com.xinli.portalclient;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import android.widget.TextView;
import com.google.code.microlog4android.Logger;
import com.xinli.portalclient.BaseActivity;
import com.xinli.portalclient.MainActivity;

public class WELCOMEActivity
extends BaseActivity {
    private final int SPLASH_DISPLAY_LENGHT = 5000;
    private ImageView image = null;

    /*
     * Enabled aggressive block sorting
     * Enabled unnecessary exception pruning
     * Enabled aggressive exception aggregation
     */
    @Override
    public void onCreate(Bundle bundle) {
        String string2;
        this.requestWindowFeature(1);
        this.getWindow().setFlags(1024, 1024);
        super.onCreate(bundle);
        this.setContentView(2130903048);
        this.logger.debug("onCreate ====step1========");
        try {
            String string3;
            string2 = string3 = this.getVersionName();
        }
        catch (Exception var3_4) {
            Log.e((String)"\u6b22\u8fce\u9875\u9762\u83b7\u53d6\u7248\u672c\u53f7\u53d1\u751f\u5f02\u5e38", (String)var3_4.getMessage());
            this.logger.error("\u6b22\u8fce\u9875\u9762\u83b7\u53d6\u7248\u672c\u53f7\u53d1\u751f\u5f02\u5e38" + var3_4.getMessage());
            var3_4.printStackTrace();
            string2 = null;
        }
        this.logger.debug("onCreate ==step2==========");
        if (string2 != null) {
            ((TextView)this.findViewById(2131296295)).setText((CharSequence)("V " + string2));
        }
        new Handler().postDelayed(new Runnable(){

            public void run() {
                Intent intent = new Intent((Context)WELCOMEActivity.this, (Class)MainActivity.class);
                WELCOMEActivity.this.startActivity(intent);
                WELCOMEActivity.this.finish();
            }
        }, 5000);
    }

}

