From b82c2db760667be7a319c5617b5e5e7a47496d13 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Wed, 13 Apr 2011 17:15:55 -0700 Subject: GPS: added update_network_availability to AGpsRilInterface Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e Signed-off-by: Mike Lockwood --- include/hardware/gps.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/hardware/gps.h') diff --git a/include/hardware/gps.h b/include/hardware/gps.h index 89ad836..7c3be18 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 -- cgit v1.1