/* */ public void commandAction(Command cmd, Displayable dsplbl) { /* 75 */ if (cmd == this._retryCmd) /* */ { /* 77 */ InitForm initF = new InitForm(); /* 78 */ ContactListMidlet.getInstance()._display.setCurrent(initF); /* 79 */ FGApp.getInstance().setTopPane(initF); /* 80 */ initF.startReg(); /* 81 */ } else if (cmd == this._retrySyncCmd) { /* 82 */ Utilities.logData("InitForm user retrying sync"); /* 83 */ removeCommand(this._retrySyncCmd); /* 84 */ FGApp.getInstance().sendZeroDataAlertToBG(15); /* 85 */ this._stateString.setText(COLD_SYNCER_STATE_TEXT); /* 86 */ this._errorItem.setLabel(Constants.STRING_EMPTY_STRING); /* 87 */ this._errorItem.setText(Constants.STRING_EMPTY_STRING); /* 88 */ this._progressString.setText(Constants.STRING_EMPTY_STRING); /* 89 */ } else if (cmd == this._retryPimCmd) { /* 90 */ Utilities.logData("InitForm user retrying PIM"); /* 91 */ removeCommand(this._retryPimCmd); /* 92 */ this._stateString.setText(PIM_CACHER_STATE_TEXT); /* 93 */ this._errorItem.setLabel(Constants.STRING_EMPTY_STRING); /* 94 */ this._errorItem.setText(Constants.STRING_EMPTY_STRING); /* 95 */ this._progressString.setText(Constants.STRING_EMPTY_STRING); /* 96 */ PIMCacheRunner pimRunner = new PIMCacheRunner(); /* 97 */ pimRunner.start(); /* */ } /* */ }
/* */ public void run() /* */ { /* 111 */ InitForm.access$002(InitForm.this, new ContactInfoDetails.PIMCacher(this)); /* 112 */ boolean res = InitForm.this._pimCacher.cacheAllPIMEntries(); /* 113 */ if (res) { /* 114 */ InitForm.this._stateString.setText(InitForm.COLD_SYNCER_STATE_TEXT); /* 115 */ InitForm.this._progressString.setText(Constants.STRING_EMPTY_STRING); /* 116 */ Utilities.logData("all pim entries cached, alerting bg cold sync"); /* 117 */ FGApp.getInstance().sendZeroDataAlertToBG(15); /* */ } else { /* 119 */ InitForm.this.pimcacheFailDetected(); /* */ } /* */ }