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

Proposed by Thomas Voß
Status: Needs review
Proposed branch: lp:~thomas-voss/location-service/remove-cell-aging-heuristics
Merge into: lp:location-service/trunk
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
PS Jenkins bot continuous-integration Pending
Ubuntu Phablet Team Pending
Review via email: mp+295724@code.launchpad.net

This proposal supersedes a proposal from 2016-03-02.

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
=== modified file 'src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp'
--- src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp 2014-11-10 12:31:47 +0000
+++ src/location_service/com/ubuntu/location/connectivity/cached_radio_cell.cpp 2016-05-25 14:35:11 +0000
@@ -44,7 +44,9 @@
44 // maintain a database of problematic modem firmware in the44 // maintain a database of problematic modem firmware in the
45 // future.45 // future.
46 auto path = modem.object->path().as_string();46 auto path = modem.object->path().as_string();
47 return path.find("ril") != std::string::npos;47 // We never age out cells, assuming that the modem does the right thing,
48 // optimizing for situations in which only cell information is available.
49 return false;
48}50}
49}51}
5052

Subscribers

People subscribed via source and target branches