equal
deleted
inserted
replaced
71 RDEBUG("CRfsAppMgmtPlugin::RestoreFactorySettingsL()"); |
71 RDEBUG("CRfsAppMgmtPlugin::RestoreFactorySettingsL()"); |
72 RAppMgmtRfs appManagement; |
72 RAppMgmtRfs appManagement; |
73 if( appManagement.Connect() == KErrNone ) |
73 if( appManagement.Connect() == KErrNone ) |
74 { |
74 { |
75 RDEBUG("CRfsAppMgmtPlugin::RestoreFactorySettingsL(): Connected to AppMgmt "); |
75 RDEBUG("CRfsAppMgmtPlugin::RestoreFactorySettingsL(): Connected to AppMgmt "); |
|
76 CleanupClosePushL(appManagement); |
76 appManagement.PerformRfsL(); |
77 appManagement.PerformRfsL(); |
77 appManagement.Close(); |
78 CleanupStack::PopAndDestroy(&appManagement); |
78 } |
79 } |
79 else |
80 else |
80 { |
81 { |
81 RDEBUG("CStartupAppUi::RTCStatus(): Unable to connect to AppMgmt "); |
82 RDEBUG("CStartupAppUi::RTCStatus(): Unable to connect to AppMgmt "); |
82 } |
83 } |