uifw/AknGlobalUI/OldStyleNotif/Src/aknkeylocknotifier.cpp
branchRCL_3
changeset 13 a8834a2e9a96
parent 12 941195f2d488
child 15 c52421ed5f07
equal deleted inserted replaced
12:941195f2d488 13:a8834a2e9a96
  1323                     // Bring phone to foreground
  1323                     // Bring phone to foreground
  1324                     apaTask.BringToForeground();
  1324                     apaTask.BringToForeground();
  1325                     }
  1325                     }
  1326                 }
  1326                 }
  1327             }   // PenEnabled()
  1327             }   // PenEnabled()
  1328 
  1328         }
  1329         if (aNotifySysApp)
  1329 
  1330             {
  1330 	if (aNotifySysApp)
  1331             SendMessageToSysAp( EEikKeyLockDisabled );
  1331 		{
  1332             }
  1332 		SendMessageToSysAp( EEikKeyLockDisabled );
  1333         }
  1333 		}
  1334     if ( iNotif )
  1334 
       
  1335 	if ( iNotif )
  1335         {
  1336         {
  1336         iNotif->NotifyStatusChange( EKeyLockDisabled );
  1337         iNotif->NotifyStatusChange( EKeyLockDisabled );
  1337         }
  1338         }
  1338 
  1339 
  1339     // Basically this cannot fail so we ignore return code.
  1340     // Basically this cannot fail so we ignore return code.
  2383 //
  2384 //
  2384 void CAknKeyLockNotifierSubject::UnlockKeys()
  2385 void CAknKeyLockNotifierSubject::UnlockKeys()
  2385     {
  2386     {
  2386     if ( IsKeyLockEnabled() )
  2387     if ( IsKeyLockEnabled() )
  2387         {
  2388         {
  2388         iKeyLockControl->AutolockEnabled( EFalse );
       
  2389         iKeyLockControl->DisableKeylock();
  2389         iKeyLockControl->DisableKeylock();
  2390         }
  2390         }
  2391     }
  2391     }
  2392 
  2392 
  2393 
  2393