equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #include "javastoragebackuputil.h" |
19 #include "javastoragebackuputil.h" |
20 #include "midp2backupplugin.h" |
20 #include "midp2backupplugin.h" |
21 #include "midp2backupdataids.h" |
21 #include "midp2backupdataids.h" |
|
22 #include "mediaidupdater.h" |
22 |
23 |
23 #include "javastorageentry.h" |
24 #include "javastorageentry.h" |
24 #include "javastorage.h" |
25 #include "javastorage.h" |
25 #include "javastoragenames.h" |
26 #include "javastoragenames.h" |
26 |
27 |
168 if (err != KErrNone) |
169 if (err != KErrNone) |
169 { |
170 { |
170 CleanupStack::PopAndDestroy(&aStream); |
171 CleanupStack::PopAndDestroy(&aStream); |
171 User::Leave(KErrGeneral); |
172 User::Leave(KErrGeneral); |
172 } |
173 } |
|
174 |
|
175 // ensure that storage contains correct removable media ids |
|
176 MediaIdUpdater updater; |
|
177 updater.update(); |
173 |
178 |
174 // Storage restore is over; Set state to EAppArc |
179 // Storage restore is over; Set state to EAppArc |
175 aRestoreState = EAppArc; |
180 aRestoreState = EAppArc; |
176 aBufferSpaceLeft = iBufferSpaceLeft; |
181 aBufferSpaceLeft = iBufferSpaceLeft; |
177 } |
182 } |