equal
deleted
inserted
replaced
86 |
86 |
87 Dprint(_L("CSCPLockObserver::Start() Device Lock Observer")); |
87 Dprint(_L("CSCPLockObserver::Start() Device Lock Observer")); |
88 |
88 |
89 iProperty.Attach(KPSUidCoreApplicationUIs, KCoreAppUIsAutolockStatus); |
89 iProperty.Attach(KPSUidCoreApplicationUIs, KCoreAppUIsAutolockStatus); |
90 break; |
90 break; |
91 #if 0 |
|
92 case ESecUiRequestStateObserver: |
|
93 |
|
94 Dprint(_L("CSCPLockObserver::Start() Request State Observer")); |
|
95 |
|
96 iProperty.Attach(KPSUidSecurityUIs, KSecurityUIsQueryRequestCancel); |
|
97 break; |
|
98 #endif |
|
99 case ESecUiCallStateObserver: |
91 case ESecUiCallStateObserver: |
100 |
92 |
101 Dprint(_L("CSCPLockObserver::Start() Call State Observer")); |
93 Dprint(_L("CSCPLockObserver::Start() Call State Observer")); |
102 |
94 |
103 iProperty.Attach(KPSUidCtsyCallInformation, KCTsyCallState); |
95 iProperty.Attach(KPSUidCtsyCallInformation, KCTsyCallState); |
167 |
159 |
168 iDialog->TryCancelQueryL(ESecUiDeviceLocked); |
160 iDialog->TryCancelQueryL(ESecUiDeviceLocked); |
169 iSubscribedToEvent = EFalse; |
161 iSubscribedToEvent = EFalse; |
170 } |
162 } |
171 break; |
163 break; |
172 #if 0 |
|
173 case ESecUiRequestStateObserver: |
|
174 TInt requestState; |
|
175 iProperty.Get( requestState ); |
|
176 if(requestState == ESecurityUIsQueryRequestCanceled) |
|
177 { |
|
178 |
|
179 Dprint(_L("CSCPLockObserver::RunL() TryCancelQueryL Req Canceled")); |
|
180 |
|
181 iDialog->TryCancelQueryL(EEikBidCancel); |
|
182 iSubscribedToEvent = EFalse; |
|
183 } |
|
184 break; |
|
185 #endif |
|
186 case ESecUiCallStateObserver: |
164 case ESecUiCallStateObserver: |
187 TInt callState; |
165 TInt callState; |
188 iProperty.Get( callState ); |
166 iProperty.Get( callState ); |
189 |
167 |
190 Dprint( (_L("CSCPLockObserver::RunL() callState : %d"),callState )); |
168 Dprint( (_L("CSCPLockObserver::RunL() callState : %d"),callState )); |