summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2012-08-21 16:25:47 -0700
committerNick Pelly <npelly@google.com>2012-08-21 16:26:26 -0700
commit1332b53522e281012fefb34bfbcc68a03028f516 (patch)
treeee947d9b82613b9ff24a3f75d38fb578b949e7a4 /location
parent5584b497b7fcd8660cc49cfc8ab4dd0c6dad1060 (diff)
downloadframeworks_base-1332b53522e281012fefb34bfbcc68a03028f516.zip
frameworks_base-1332b53522e281012fefb34bfbcc68a03028f516.tar.gz
frameworks_base-1332b53522e281012fefb34bfbcc68a03028f516.tar.bz2
Fix some location issues exposed by CTS.
Change-Id: I5859ee2c9db5745b0a3bc8abfa8f08728fb25059
Diffstat (limited to 'location')
-rw-r--r--location/java/com/android/internal/location/ProviderProperties.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/location/java/com/android/internal/location/ProviderProperties.java b/location/java/com/android/internal/location/ProviderProperties.java
index 08aed80..def96f0 100644
--- a/location/java/com/android/internal/location/ProviderProperties.java
+++ b/location/java/com/android/internal/location/ProviderProperties.java
@@ -145,7 +145,7 @@ public final class ProviderProperties implements Parcelable {
parcel.writeInt(mHasMonetaryCost ? 1 : 0);
parcel.writeInt(mSupportsAltitude ? 1 : 0);
parcel.writeInt(mSupportsSpeed ? 1 : 0);
- parcel.writeInt(mSupportsSpeed ? 1 : 0);
+ parcel.writeInt(mSupportsBearing ? 1 : 0);
parcel.writeInt(mPowerRequirement);
parcel.writeInt(mAccuracy);
}