171 { |
171 { |
172 LBSLOG_ERR2(ELogP3, "Failed to get KLbsSpecialFeatureIntermediateFutileUpdate (err %d)", err); |
172 LBSLOG_ERR2(ELogP3, "Failed to get KLbsSpecialFeatureIntermediateFutileUpdate (err %d)", err); |
173 } |
173 } |
174 LBSLOG2(ELogP3, "Using KLbsSpecialFeatureIntermediateFutileUpdate = %d", specialFeature); |
174 LBSLOG2(ELogP3, "Using KLbsSpecialFeatureIntermediateFutileUpdate = %d", specialFeature); |
175 iSpecialFeatureIntermediateFutileUpdate = (specialFeature == CLbsAdmin::ESpecialFeatureOn) ? ETrue : EFalse; |
175 iSpecialFeatureIntermediateFutileUpdate = (specialFeature == CLbsAdmin::ESpecialFeatureOn) ? ETrue : EFalse; |
176 |
176 |
|
177 #if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
|
178 iLocationManagementSupported = EFalse; |
|
179 #else |
177 #ifdef SYMBIAN_FEATURE_MANAGER |
180 #ifdef SYMBIAN_FEATURE_MANAGER |
178 iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); |
181 iLocationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); |
179 #else |
182 #else |
180 __ASSERT_ALWAYS(EFalse, User::Invariant()); // Would happen on older versions of symbian OS if this code ever backported |
183 __ASSERT_ALWAYS(EFalse, User::Invariant()); // Would happen on older versions of symbian OS if this code ever backported |
181 #endif |
184 #endif // SYMBIAN_FEATURE_MANAGER |
|
185 #endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC |
182 |
186 |
183 // Get the CategoryUid from the cenrep file owned by LbsRoot for accessing Positioning Status P&S Keys |
187 // Get the CategoryUid from the cenrep file owned by LbsRoot for accessing Positioning Status P&S Keys |
184 CRepository* rep = CRepository::NewLC(KLbsCenRepUid); |
188 CRepository* rep = CRepository::NewLC(KLbsCenRepUid); |
185 TInt posStatusCategory; |
189 TInt posStatusCategory; |
186 err = rep->Get(KNiPositioningStatusAPIKey, posStatusCategory); |
190 err = rep->Get(KNiPositioningStatusAPIKey, posStatusCategory); |