equal
deleted
inserted
replaced
24 #include "mtpdevicedpconst.h" |
24 #include "mtpdevicedpconst.h" |
25 #include "mtpdevdppanic.h" |
25 #include "mtpdevdppanic.h" |
26 #include "rmtpdevicedpsingletons.h" |
26 #include "rmtpdevicedpsingletons.h" |
27 #include "cmtpdevicedpconfigmgr.h" |
27 #include "cmtpdevicedpconfigmgr.h" |
28 #include "mtpframeworkconst.h" |
28 #include "mtpframeworkconst.h" |
29 |
29 #include "mtpcommonconst.h" |
30 //This file is exported from s60 sdk, now just copy it |
|
31 //to make sure onb can run |
|
32 #include "UiklafInternalCRKeys.h" |
|
33 |
30 |
34 // Class constants. |
31 // Class constants. |
35 __FLOG_STMT(_LIT8(KComponent,"GetStorageInfo");) |
32 __FLOG_STMT(_LIT8(KComponent,"GetStorageInfo");) |
36 |
33 |
37 /** |
34 /** |
197 case EMediaFloppy: |
194 case EMediaFloppy: |
198 if (iDriveInfo.iDriveAtt & KDriveAttRemovable) |
195 if (iDriveInfo.iDriveAtt & KDriveAttRemovable) |
199 { |
196 { |
200 //E: is set as logically removable after eMMC image updated |
197 //E: is set as logically removable after eMMC image updated |
201 //So here we need to deal with this case to set it as FixedRam |
198 //So here we need to deal with this case to set it as FixedRam |
202 if(iDriveInfo.iDriveAtt & KDriveAttInternal) |
199 if(iDriveInfo.iDriveAtt & KDriveAttLogicallyRemovable) |
203 { |
200 { |
204 __FLOG(_L8("removable but internal drive, set as Fixed RAM")); |
201 __FLOG(_L8("removable but internal drive, set as Fixed RAM")); |
205 storageType = EMTPStorageFixedRAM; |
202 storageType = EMTPStorageFixedRAM; |
206 } |
203 } |
207 else |
204 else |