Make sure FLP HAL statuses currently used are translated (if needed) correctly into the framework.

b/14118906

Change-Id: I4723a3b9cad99aacc70bd3b7b5b5e034aa6c033d
This commit is contained in:
destradaa
2014-04-25 11:37:52 -07:00
parent 250bb6e3e0
commit cc972725af
3 changed files with 26 additions and 5 deletions

View File

@@ -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;
}
/*