diff -r 8871b09be73b -r 24062c24fe38 phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp --- a/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp Fri Feb 19 22:50:26 2010 +0200 +++ b/phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp Fri Mar 12 15:42:40 2010 +0200 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -22,6 +22,9 @@ #include #include #include +#include +#include +#include #include "cphonesystemeventhandler.h" #include "mphonestate.h" @@ -97,6 +100,24 @@ KHWRMGripStatus, this ); } + + if ( FeatureManager::FeatureSupported( KFeatureIdFfSimlockUi ) ) + { + //Set up notifications for Sim Lock Dialogs values. + CPhonePubSubProxy::Instance()->NotifyChangeL( + KSimLockProperty, + ESimLockActiveStatus, + this ); + } + + if ( FeatureManager::FeatureSupported( KFeatureIdFfEntryPointForVideoShare ) ) + { + // Set up notifications for Video Share (un)availability + CPhonePubSubProxy::Instance()->NotifyChangeL( + KPSUidCoreApplicationUIs, + KCoreAppUIsVideoSharingIndicator, + this ); + } } // ---------------------------------------------------------