javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/RegisterApplicationToSif.java
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
child 83 26b2b12093af
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    38             // Old suite exists, unregister it first.
    38             // Old suite exists, unregister it first.
    39             ball.iSifRegistrator.unregisterSuite(ball.iOldSuite);
    39             ball.iSifRegistrator.unregisterSuite(ball.iOldSuite);
    40             Log.log("Old suite unregistered from SIF");
    40             Log.log("Old suite unregistered from SIF");
    41         }
    41         }
    42 
    42 
    43         if (ball.iSourceUrl != null)
    43         if (ball.iAuthenticationCredentials != null)
    44         {
    44         {
    45             // Save source URL to suite as jad URL which is
    45             // Set protection domain name.
    46             // registered to SIF as download URL.
    46             ball.iSuite.setProtectionDomainName(
    47             ball.iSuite.setJadUrl(ball.iSourceUrl);
    47                 ball.iAuthenticationCredentials[0].getProtectionDomainName());
    48         }
    48         }
    49 
    49 
    50         // Initialize application installation group to SuiteInfo.
    50         // Initialize application installation group to SuiteInfo.
    51         // Note that ball.iInstallationGroup is initialized
    51         // Note that ball.iInstallationGroup is initialized
    52         // in RegisterApplication step, so it must be executed
    52         // in RegisterApplication step, so it must be executed