Skip to content
Snippets Groups Projects
Commit abccd8f7 authored by Yu-Han Yang's avatar Yu-Han Yang
Browse files

DO NOT MERGE: Do not inject mock location to chipset

Bug: 177561690
Test: on device
Change-Id: Icafbdf54fe807f8779377b13cb4e4eb265db692e
parent 4488005e
No related branches found
No related tags found
No related merge requests found
......@@ -841,6 +841,9 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
}
private void injectBestLocation(Location location) {
if (location.isFromMockProvider()) {
return;
}
if (DEBUG) {
Log.d(TAG, "injectBestLocation: " + location);
}
......@@ -942,6 +945,9 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
}
private void injectLocation(Location location) {
if (location.isFromMockProvider()) {
return;
}
if (location.hasAccuracy()) {
if (DEBUG) {
Log.d(TAG, "injectLocation: " + location);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment