diff options
author | destradaa <destradaa@google.com> | 2013-08-12 18:50:30 -0700 |
---|---|---|
committer | destradaa <destradaa@google.com> | 2013-08-13 16:00:04 -0700 |
commit | 0682809ad08db284d7110aab44108d5e9c310e6b (patch) | |
tree | 2aa38602adac05aa16f829f995b21d239ba2494c /location | |
parent | f464511a7be2e381f508b5b2b937f19c98d800c2 (diff) | |
download | frameworks_base-0682809ad08db284d7110aab44108d5e9c310e6b.zip frameworks_base-0682809ad08db284d7110aab44108d5e9c310e6b.tar.gz frameworks_base-0682809ad08db284d7110aab44108d5e9c310e6b.tar.bz2 |
Add support in the platform for Flp Geofencing.
Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
Diffstat (limited to 'location')
-rw-r--r-- | location/java/android/location/IFusedGeofenceHardware.aidl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/location/java/android/location/IFusedGeofenceHardware.aidl b/location/java/android/location/IFusedGeofenceHardware.aidl index 9dbf1f4..d8c3585 100644 --- a/location/java/android/location/IFusedGeofenceHardware.aidl +++ b/location/java/android/location/IFusedGeofenceHardware.aidl @@ -16,8 +16,8 @@ package android.location; -import android.location.Geofence; - +import android.hardware.location.GeofenceHardwareRequestParcelable; + /** * Fused Geofence Hardware interface. * @@ -39,11 +39,9 @@ interface IFusedGeofenceHardware { /** * Adds a given list of geofences to the system. * - * @param geofenceIdsArray The list of geofence Ids to add. - * @param geofencesArray the list of geofences to add. + * @param geofenceRequestsArray The list of geofences to add. */ - // TODO: [GeofenceIntegration] GeofenceHardwareRequest is not a parcelable class exposed in aidl - void addGeofences(in int[] geofenceIdsArray, in Geofence[] geofencesArray); + void addGeofences(in GeofenceHardwareRequestParcelable[] geofenceRequestsArray); /** * Removes a give list of geofences from the system. @@ -79,7 +77,8 @@ interface IFusedGeofenceHardware { * the geofence. * @param monitorTransitions The set of transitions to monitor. * @param notificationResponsiveness The notification responsivness needed. - * @param unknownTimer The time span associated with the + * @param unknownTimer The time span associated with the. + * @param sourcesToUse The source technologies to use. * * Remarks: keep the options as separate fields to be able to leverage the class * GeofenceHardwareRequest without any changes @@ -89,5 +88,6 @@ interface IFusedGeofenceHardware { in int lastTransition, in int monitorTransitions, in int notificationResponsiveness, - in int unknownTimer); + in int unknownTimer, + in int sourcesToUse); } |