applicationmanagement/RfsPlugin/src/RfsAppMgmtPlugin.cpp
changeset 67 fdbfe0a95492
parent 0 3ce708148e4d
equal deleted inserted replaced
62:03849bd79877 67:fdbfe0a95492
    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         }