phoneapp/phoneuicontrol/src/cphonesystemeventhandler.cpp
branchRCL_3
changeset 17 38529f706030
parent 15 2a26698d78ba
child 61 41a7f70b3818
equal deleted inserted replaced
15:2a26698d78ba 17:38529f706030
    20 #include <telinformationpskeys.h>
    20 #include <telinformationpskeys.h>
    21 #include <telephonyvariant.hrh>
    21 #include <telephonyvariant.hrh>
    22 #include <UikonInternalPSKeys.h>
    22 #include <UikonInternalPSKeys.h>
    23 #include <startupdomainpskeys.h>
    23 #include <startupdomainpskeys.h>
    24 #include <hwrmdomainpskeys.h>
    24 #include <hwrmdomainpskeys.h>
    25 #include <oem/SimLockUiKeys.h>
    25 #include <oem/simlockuikeys.h>
    26 #include <featmgr.h>
    26 #include <featmgr.h>
    27 #include <coreapplicationuisdomainpskeys.h>
    27 #include <coreapplicationuisdomainpskeys.h>
    28 
    28 
    29 #include "cphonesystemeventhandler.h"
    29 #include "cphonesystemeventhandler.h"
    30 #include "mphonestate.h"
    30 #include "mphonestate.h"
    88     // Set up notifications for Sim security state values.
    88     // Set up notifications for Sim security state values.
    89     CPhonePubSubProxy::Instance()->NotifyChangeL(
    89     CPhonePubSubProxy::Instance()->NotifyChangeL(
    90         KPSUidStartup,
    90         KPSUidStartup,
    91         KStartupSimSecurityStatus,
    91         KStartupSimSecurityStatus,
    92         this );
    92         this );
       
    93     
       
    94     // Set up notifications for autolock state changes.
       
    95     CPhonePubSubProxy::Instance()->NotifyChangeL(
       
    96     	KPSUidCoreApplicationUIs,
       
    97     	KCoreAppUIsAutolockStatus,
       
    98     	this );
       
    99     
    93 
   100 
    94     if ( CPhoneCenRepProxy::Instance()->IsTelephonyFeatureSupported(
   101     if ( CPhoneCenRepProxy::Instance()->IsTelephonyFeatureSupported(
    95             KTelephonyLVFlagSwivelInDevice ))
   102             KTelephonyLVFlagSwivelInDevice ))
    96         {
   103         {
    97         // Set up notifications for Swivel state.
   104         // Set up notifications for Swivel state.
   221 void CPhoneSystemEventHandler::HandlePropertyChangedL(
   228 void CPhoneSystemEventHandler::HandlePropertyChangedL(
   222     const TUid& aCategory,
   229     const TUid& aCategory,
   223     const TUint aKey,
   230     const TUint aKey,
   224     const TInt aValue )
   231     const TInt aValue )
   225     {
   232     {
   226     iStateMachine->State()->HandlePropertyChangedL( aCategory, aKey, aValue );
   233     iStateMachine->HandlePropertyChangedL( aCategory, aKey, aValue );
   227     }
   234     }
   228 
   235 
   229 // -----------------------------------------------------------
   236 // -----------------------------------------------------------
   230 // CPhoneSystemEventHandler::HandleCenRepChangeL
   237 // CPhoneSystemEventHandler::HandleCenRepChangeL
   231 // -----------------------------------------------------------
   238 // -----------------------------------------------------------