javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/storagehandler/StorageHandler.java
changeset 48 e0d6e9bd3ca7
parent 47 f40128debb5d
equal deleted inserted replaced
47:f40128debb5d 48:e0d6e9bd3ca7
  1089         iSession.update(StorageNames.PREINSTALL_TABLE, entry, matchEntry);
  1089         iSession.update(StorageNames.PREINSTALL_TABLE, entry, matchEntry);
  1090     }
  1090     }
  1091 
  1091 
  1092     /**
  1092     /**
  1093      * Removes preinstall state for given suite from
  1093      * Removes preinstall state for given suite from
  1094      * preinstall table but only if preinstall state
  1094      * preinstall table 
  1095      * in given SuiteInfo is SuiteInfo.STATE_INSTALLED.
       
  1096      */
  1095      */
  1097     private void removePreinstallState(SuiteInfo aSuiteInfo)
  1096     private void removePreinstallState(SuiteInfo aSuiteInfo)
  1098     {
  1097     {
  1099         if (aSuiteInfo == null ||
  1098         if (aSuiteInfo == null)
  1100                 aSuiteInfo.iPreinstallState != aSuiteInfo.STATE_INSTALLED)
       
  1101         {
  1099         {
  1102             return;
  1100             return;
  1103         }
  1101         }
  1104         // Match preinstall state using name and vendor.
  1102         // Match preinstall state using name and vendor.
  1105         StorageEntry matchEntry = new StorageEntry();
  1103         StorageEntry matchEntry = new StorageEntry();