Merge lp:~thomas-voss/location-service/remove-cell-aging-heuristics into lp:location-service/15.04

Proposed by Thomas Voß
Status: Superseded
Proposed branch: lp:~thomas-voss/location-service/remove-cell-aging-heuristics
Merge into: lp:location-service/15.04
Diff against target: 13 lines (+3/-1)
1 file modified
src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp (+3/-1)
To merge this branch: bzr merge lp:~thomas-voss/location-service/remove-cell-aging-heuristics
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+287840@code.launchpad.net

This proposal has been superseded by a proposal from 2016-05-25.

Commit message

Remove heuristic for aging out cell measurements.

Description of the change

Remove heuristic for aging out cell measurements.

To post a comment you must log in.

Unmerged revisions

216. By Thomas Voß

Remove heuristic for aging out cell measurements.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp'
2--- src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp 2014-11-10 12:31:47 +0000
3+++ src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp 2016-03-02 19:37:14 +0000
4@@ -44,7 +44,9 @@
5 // maintain a database of problematic modem firmware in the
6 // future.
7 auto path = modem.object->path().as_string();
8- return path.find("ril") != std::string::npos;
9+ // We never age out cells, assuming that the modem does the right thing,
10+ // optimizing for situations in which only cell information is available.
11+ return false;
12 }
13 }
14

Subscribers

People subscribed via source and target branches