summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authordestradaa <destradaa@google.com>2014-11-06 22:22:35 +0000
committerandroid-build-merger <android-build-merger@google.com>2014-11-06 22:22:35 +0000
commita084d357d3fd0a5696998e786aeb10ff394f24d5 (patch)
tree4412d634f2f8989d8f4e000184d7aa811f76648b /location
parentbd94aff236502f5b4fe19bd773a10d0fd1ccfe49 (diff)
parentc3e5599cdc09a770d12433a98e7da93ec24d959d (diff)
downloadframeworks_base-a084d357d3fd0a5696998e786aeb10ff394f24d5.zip
frameworks_base-a084d357d3fd0a5696998e786aeb10ff394f24d5.tar.gz
frameworks_base-a084d357d3fd0a5696998e786aeb10ff394f24d5.tar.bz2
Merge "Fix reference leak in GPS measurement JNI layer. b/16727892 b/17075171" into lmp-mr1-dev
automerge: c3e5599 * commit 'c3e5599cdc09a770d12433a98e7da93ec24d959d': Fix reference leak in GPS measurement JNI layer. b/16727892 b/17075171
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/GpsClock.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/location/java/android/location/GpsClock.java b/location/java/android/location/GpsClock.java
index 963b604..610d268 100644
--- a/location/java/android/location/GpsClock.java
+++ b/location/java/android/location/GpsClock.java
@@ -492,6 +492,7 @@ public class GpsClock implements Parcelable {
setType(TYPE_UNKNOWN);
setTimeInNs(Long.MIN_VALUE);
resetTimeUncertaintyInNs();
+ resetFullBiasInNs();
resetBiasInNs();
resetBiasUncertaintyInNs();
resetDriftInNsPerSec();