diff -r cee7e9e0906c -r 61f927bc9441 satui/satapp/src/satappmainhandler.cpp --- a/satui/satapp/src/satappmainhandler.cpp Wed Aug 18 10:19:22 2010 +0300 +++ b/satui/satapp/src/satappmainhandler.cpp Thu Sep 02 21:00:29 2010 +0300 @@ -23,7 +23,7 @@ // symbian #include -#include +#include #include "satappmainhandler.h" #include "satappserverdispatcher.h" @@ -266,17 +266,18 @@ qDebug("SATAPP: SatAppMainHandler::isOffline >"); TInt profileId(0); CRepository* cr (NULL); - TRAPD(err, cr = CRepository::NewL(KCRUidProfileEngine)); + TRAPD(err, cr = CRepository::NewL(KCRUidCoreApplicationUIs)); if ( KErrNone == err ) { // Get the ID of the currently active profile: - const TInt error = cr->Get(KProEngActiveProfile, profileId); + const TInt error = + cr->Get(KCoreAppUIsNetworkConnectionAllowed, profileId); qDebug("SATAPP: SatAppMainHandler::isOffline get active \ profile error=%d",error); delete cr; } qDebug("SATAPP: SatAppMainHandler::isOffline< profileId = %d",profileId); - return ( KSatActiveProfileOffline == profileId ); + return ( ECoreAppUIsNetworkConnectionNotAllowed == profileId ); } // ----------------------------------------------------------------------------