diff options
| author | David Christie <dnchrist@google.com> | 2015-04-12 20:57:57 -0700 |
|---|---|---|
| committer | David Christie <dnchrist@google.com> | 2015-04-13 17:25:27 -0700 |
| commit | 15003f19e5e5a443222569401f167a3ac0e1de3a (patch) | |
| tree | 74259f8732f9e5aa7cc8bb96b1d44d7d8ebdb59c /core/java | |
| parent | ffca45a2cdd778e6edd5c3959bf53c6192b7e035 (diff) | |
| download | frameworks_base-15003f19e5e5a443222569401f167a3ac0e1de3a.zip frameworks_base-15003f19e5e5a443222569401f167a3ac0e1de3a.tar.gz frameworks_base-15003f19e5e5a443222569401f167a3ac0e1de3a.tar.bz2 | |
Add a status callback for location batching in FLP HAL
-Allows GmsCore to know when location is unsuccessful so
it can switch to a SW solution.
Change-Id: I3d1df7b828f7fb189446881eea87d9a952310614
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/hardware/location/IFusedLocationHardwareSink.aidl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/hardware/location/IFusedLocationHardwareSink.aidl b/core/java/android/hardware/location/IFusedLocationHardwareSink.aidl index 2107ae8..c99cb0c 100644 --- a/core/java/android/hardware/location/IFusedLocationHardwareSink.aidl +++ b/core/java/android/hardware/location/IFusedLocationHardwareSink.aidl @@ -44,4 +44,10 @@ interface IFusedLocationHardwareSink { * capabilities. Should be called immediatly after init. */ void onCapabilities(int capabilities) = 2; + + /** + * Event generated from FLP HAL when the status of location batching + * changes (location is successful/unsuccessful). + */ + void onStatusChanged(int status) = 3; }
\ No newline at end of file |
