@Override public StringBuffer dumpFlag(StringBuffer sb) { super.dumpFlag(sb); if (hasFlag(GLOBAL_SERVICE_BROADCAST)) { sb.append("GLOBAL_SERVICE_BROADCAST").append(","); } return sb; }
@Override public void onCreate() { super.onCreate(); mApp = this; mService = new GlobalServiceMger(AppService.class); initImageLoader(getApplicationContext()); MobclickAgent.openActivityDurationTrack(false); MobclickAgent.setDebugMode(false); UrlUtils.initUrlBase(ValConfig.URL_BASE_RELEASE, ValConfig.URL_BASE_DEBUG); mLocalBroadcast = new Receiver(); mLocalBroadcast.toggleLocalBroadcast(this, true); boolean needUpdate = new InitHelper(this).initUpdate(); d("onCreate", "update database before 3.0 is " + needUpdate); }
@Override public void onLowMemory() { System.gc(); super.onLowMemory(); }