omadrm/drmengine/keystorage/src/DrmStdKeyStorage.cpp
branchRCL_3
changeset 32 457cd4423b8c
parent 25 04da681812a9
child 71 1221b68b8a5f
equal deleted inserted replaced
25:04da681812a9 32:457cd4423b8c
    23 #include <hash.h>
    23 #include <hash.h>
    24 #include <asn1dec.h>
    24 #include <asn1dec.h>
    25 #include <x509cert.h>
    25 #include <x509cert.h>
    26 #include <etelmm.h>
    26 #include <etelmm.h>
    27 #include <mmtsy_names.h>
    27 #include <mmtsy_names.h>
       
    28 #include <featmgr.h>
    28 
    29 
    29 #ifdef RD_MULTIPLE_DRIVE
    30 #ifdef RD_MULTIPLE_DRIVE
    30 #include <driveinfo.h>
    31 #include <driveinfo.h>
    31 #endif
    32 #endif
    32 
    33 
   208 
   209 
   209     LOG(_L("CDrmStdKeyStorage::ConstructL ->"));
   210     LOG(_L("CDrmStdKeyStorage::ConstructL ->"));
   210     User::LeaveIfError(iFs.Connect());
   211     User::LeaveIfError(iFs.Connect());
   211     iFileMan = CFileMan::NewL(iFs);
   212     iFileMan = CFileMan::NewL(iFs);
   212 
   213 
   213 #ifdef __DRM_OMA2
   214     FeatureManager::InitializeLibL();
   214     TRAP_IGNORE( SelectDefaultRootL() ); // Allow startup anyway.
   215     
   215 #endif
   216 #ifdef __DRM_OMA2 
   216 
   217     if ( FeatureManager::FeatureSupported( KFeatureIdFfOmadrm2Support ) )
       
   218         {
       
   219         TRAP_IGNORE( SelectDefaultRootL() );
       
   220         }
       
   221 #endif
       
   222     
       
   223     FeatureManager::UnInitializeLib();
       
   224     
   217     iDeviceSpecificKey.Copy(KDefaultKey);
   225     iDeviceSpecificKey.Copy(KDefaultKey);
   218 
   226 
   219     LOG(_L("CDrmStdKeyStorage::ConstructL <-"));
   227     LOG(_L("CDrmStdKeyStorage::ConstructL <-"));
   220     }
   228     }
   221 
   229