public class SplashActivity extends Activity
{
protected void onCreate(Bundle paramBundle)
{
SettingsPref.changeLocale(this);
super.onCreate(paramBundle);
setContentView(R.layout.splash);
if (Utils.isEnPlatform(this))
{
SharedPreferences.Editor localEditor = SettingsPref.getDefaultSharedPreference(this).edit();
String str1 = getString(R.string.setting_key_switch_language);
String str2 = getString(R.string.language_value_en);
localEditor.putString(str1, str2);
localEditor.commit();
}
Handler localHandler = new Handler();
SplashActivity.1 local1 = new SplashActivity.1(this);
localHandler.postDelayed(local1, 2000L);
}
class SplashActivity$1
implements Runnable
{
public void run()
{
SplashActivity localSplashActivity = this.this$0;
Intent localIntent1 = new Intent();
Context localContext = this.this$0.getApplicationContext();
Intent localIntent2 = localIntent1.setClass(localContext, MainTabActivity.class);
localSplashActivity.startActivity(localIntent2);
this.this$0.finish();
}
}
}