javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/FinalizeInstallation.java
equal
deleted
inserted
replaced
148 } |
148 } |
149 ball.getCaptainService().appUpdated(oldUids, uids); |
149 ball.getCaptainService().appUpdated(oldUids, uids); |
150 Log.log("JavaCaptain notified"); |
150 Log.log("JavaCaptain notified"); |
151 } |
151 } |
152 |
152 |
153 // Add an entry to platform installation log. |
|
154 ball.iApplicationRegistrator.addInstallLogEntry(ball.iSuite, 0); |
|
155 |
|
156 String midletName = ball.getAttributeValue("MIDlet-Name"); |
153 String midletName = ball.getAttributeValue("MIDlet-Name"); |
157 ball.log("Application " + midletName + " successfully installed."); |
154 ball.log("Application " + midletName + " successfully installed."); |
158 ball.log(ball.iSuite.toShortString()); |
155 ball.log(ball.iSuite.toShortString()); |
159 |
156 |
160 // Store the uids to Installer static variable |
157 // Store the uids to Installer static variable |
303 { |
300 { |
304 Log.logWarning("Closing icon InputStreams failed", ioe); |
301 Log.logWarning("Closing icon InputStreams failed", ioe); |
305 } |
302 } |
306 } |
303 } |
307 |
304 |
308 if (ball.iSifRegistrator.getSifMode() > 0 && launchApp) |
305 //if (ball.iSifRegistrator.getSifMode() > 0 && launchApp) |
309 { |
306 //{ |
310 ball.getInstallerUi().syncExec(new Runnable() |
307 // ball.iSifRegistrator.launchAppView(); |
311 { |
308 //} |
312 // launchAppView() must be called in the UI thread. |
309 //else |
313 public void run() |
|
314 { |
|
315 ball.iSifRegistrator.launchAppView(); |
|
316 } |
|
317 }); |
|
318 } |
|
319 else |
|
320 if (ball.iCaptainMsgs && launchApp && |
310 if (ball.iCaptainMsgs && launchApp && |
321 launchAppInfo.getApplications() != null && |
311 launchAppInfo.getApplications() != null && |
322 launchAppInfo.getApplications().length > 0) |
312 launchAppInfo.getApplications().length > 0) |
323 { |
313 { |
324 int selection = launchAppInfo.getSelection(); |
314 int selection = launchAppInfo.getSelection(); |