diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2011-04-13 17:15:55 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-08-04 09:48:03 -0400 |
commit | b82c2db760667be7a319c5617b5e5e7a47496d13 (patch) | |
tree | 435d0f959c28a3d118188447e9bbaf387bcf6a74 | |
parent | da51d1ca145b8cc82588d97ea33e81d6a0cda408 (diff) | |
download | libhardware-b82c2db760667be7a319c5617b5e5e7a47496d13.tar.gz |
GPS: added update_network_availability to AGpsRilInterface
Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e
Signed-off-by: Mike Lockwood <lockwood@android.com>
-rw-r--r-- | include/hardware/gps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/gps.h b/include/hardware/gps.h index 89ad8368..7c3be18f 100644 --- a/include/hardware/gps.h +++ b/include/hardware/gps.h @@ -659,6 +659,12 @@ typedef struct { * These parameters match values in the android.net.NetworkInfo class. */ void (*update_network_state) (int connected, int type, int roaming, const char* extra_info); + + /** + * Notify GPS of network status changes. + * These parameters match values in the android.net.NetworkInfo class. + */ + void (*update_network_availability) (int avaiable, const char* apn); } AGpsRilInterface; __END_DECLS |