From cc972725af35284c0b571aaa0dc6873e69b15119 Mon Sep 17 00:00:00 2001 From: destradaa Date: Fri, 25 Apr 2014 11:37:52 -0700 Subject: Make sure FLP HAL statuses currently used are translated (if needed) correctly into the framework. b/14118906 Change-Id: I4723a3b9cad99aacc70bd3b7b5b5e034aa6c033d --- location/java/android/location/FusedBatchOptions.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'location/java') diff --git a/location/java/android/location/FusedBatchOptions.java b/location/java/android/location/FusedBatchOptions.java index 623d707610dc..5600aeb9abad 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; } /* -- cgit v1.2.3-59-g8ed1b