javamanager/javabackup/midp2backup/src.s60/javastoragebackuputil.cpp
branchRCL_3
changeset 46 4376525cdefb
parent 19 04becd199f91
child 48 e0d6e9bd3ca7
equal deleted inserted replaced
34:71c436fe3ce0 46:4376525cdefb
   879             attribute.setEntry(VALID_CERTS, iStringVector[count++]);
   879             attribute.setEntry(VALID_CERTS, iStringVector[count++]);
   880             insertEntry.insert(attribute);
   880             insertEntry.insert(attribute);
   881 
   881 
   882             attribute.setEntry(ON_SCREEN_KEYPAD, iStringVector[count++]);
   882             attribute.setEntry(ON_SCREEN_KEYPAD, iStringVector[count++]);
   883             insertEntry.insert(attribute);
   883             insertEntry.insert(attribute);
       
   884             
       
   885             attribute.setEntry(SECURITY_WARNINGS, iStringVector[count++]);
       
   886             insertEntry.insert(attribute);
   884 
   887 
   885             try
   888             try
   886             {
   889             {
   887                 js->write(MIDP_PACKAGE_TABLE, insertEntry);
   890                 js->write(MIDP_PACKAGE_TABLE, insertEntry);
   888                 ILOG(EBackup, "Writing to table succeded");
   891                 ILOG(EBackup, "Writing to table succeded");
  1618         if (findIterator != (*applications).end())
  1621         if (findIterator != (*applications).end())
  1619         {
  1622         {
  1620             str = (*findIterator).entryValue();
  1623             str = (*findIterator).entryValue();
  1621         }
  1624         }
  1622         iStringVector.push_back(str);
  1625         iStringVector.push_back(str);
       
  1626         
       
  1627         attribute.setEntry(SECURITY_WARNINGS, L"");
       
  1628         str = emptyString;
       
  1629         findIterator = (*applications).find(attribute);
       
  1630 
       
  1631         if (findIterator != (*applications).end())
       
  1632         {
       
  1633             str = (*findIterator).entryValue();
       
  1634         }
       
  1635         iStringVector.push_back(str);
  1623 
  1636 
  1624         rowsCount++;
  1637         rowsCount++;
  1625     }
  1638     }
  1626     ILOG1(EBackup, "for loop crossed with i = %d", rowsCount);
  1639     ILOG1(EBackup, "for loop crossed with i = %d", rowsCount);
  1627     return rowsCount;
  1640     return rowsCount;