diff options
author | destradaa <destradaa@google.com> | 2014-04-25 11:37:52 -0700 |
---|---|---|
committer | destradaa <destradaa@google.com> | 2014-04-25 11:39:16 -0700 |
commit | cc972725af35284c0b571aaa0dc6873e69b15119 (patch) | |
tree | 5c6a0e5e648b2f541a7c72642e36e9d0b24e697c /location | |
parent | 250bb6e3e045a88022db526b074e7ab38c47d93c (diff) | |
download | frameworks_base-cc972725af35284c0b571aaa0dc6873e69b15119.zip frameworks_base-cc972725af35284c0b571aaa0dc6873e69b15119.tar.gz frameworks_base-cc972725af35284c0b571aaa0dc6873e69b15119.tar.bz2 |
Make sure FLP HAL statuses currently used are translated (if needed) correctly into the framework.
b/14118906
Change-Id: I4723a3b9cad99aacc70bd3b7b5b5e034aa6c033d
Diffstat (limited to 'location')
-rw-r--r-- | location/java/android/location/FusedBatchOptions.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/location/java/android/location/FusedBatchOptions.java b/location/java/android/location/FusedBatchOptions.java index 623d707..5600aeb 100644 --- a/location/java/android/location/FusedBatchOptions.java +++ b/location/java/android/location/FusedBatchOptions.java @@ -95,8 +95,9 @@ public class FusedBatchOptions implements Parcelable { } public static final class BatchFlags { - public static int WAKEUP_ON_FIFO_FULL = 1<<0; - public static int CALLBACK_ON_LOCATION_FIX = 1<<1; + // follow the definitions to the letter in fused_location.h + public static int WAKEUP_ON_FIFO_FULL = 0x0000001; + public static int CALLBACK_ON_LOCATION_FIX =0x0000002; } /* |