equal
deleted
inserted
replaced
183 if ( i < stripStart || stripStart == KErrNotFound ) |
183 if ( i < stripStart || stripStart == KErrNotFound ) |
184 { |
184 { |
185 stripStart = i; |
185 stripStart = i; |
186 } |
186 } |
187 } |
187 } |
|
188 input.Inc(); |
188 } |
189 } |
189 if ( stripStart != KErrNotFound ) |
190 if ( stripStart != KErrNotFound ) |
190 { |
191 { |
191 return aPostfix.Left( stripStart ); |
192 return aPostfix.Left( stripStart ); |
192 } |
193 } |
203 TBool CPEParserPhoneNumberHandler::IsPhoneOffline() |
204 TBool CPEParserPhoneNumberHandler::IsPhoneOffline() |
204 { |
205 { |
205 TBool isPhoneOffline( EFalse ); |
206 TBool isPhoneOffline( EFalse ); |
206 |
207 |
207 if( FeatureManager::FeatureSupported( KFeatureIdOfflineMode ) |
208 if( FeatureManager::FeatureSupported( KFeatureIdOfflineMode ) |
208 && ( iDataStore.ProfileId() == EProfileOffLineId ) ) |
209 && ( EFalse == iOwner.IsNetworkConnectionAllowed() ) ) |
209 { |
210 { |
210 isPhoneOffline = ETrue; |
211 isPhoneOffline = ETrue; |
211 } |
212 } |
212 |
213 |
213 TNWNetworkRegistrationStatus networkRegStatus |
214 TNWNetworkRegistrationStatus networkRegStatus |