summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Lockwood <lockwood%android.com@gtempaccount.com>2011-08-04 07:32:47 -0700
committerAndroid Code Review <code-review@android.com>2011-08-04 07:32:47 -0700
commit4306ca7d446c26752ecd9f724590487d68a27f10 (patch)
tree435d0f959c28a3d118188447e9bbaf387bcf6a74
parentda51d1ca145b8cc82588d97ea33e81d6a0cda408 (diff)
parentb82c2db760667be7a319c5617b5e5e7a47496d13 (diff)
downloadlibhardware-4306ca7d446c26752ecd9f724590487d68a27f10.tar.gz
Merge "GPS: added update_network_availability to AGpsRilInterface"
-rw-r--r--include/hardware/gps.h6
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