OSDN Git Service

GPS: added update_network_availability to AGpsRilInterface
authorKevin Tang <zhikait@codeaurora.org>
Thu, 14 Apr 2011 00:15:55 +0000 (17:15 -0700)
committerMike Lockwood <lockwood@android.com>
Thu, 4 Aug 2011 13:48:03 +0000 (09:48 -0400)
Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e
Signed-off-by: Mike Lockwood <lockwood@android.com>
include/hardware/gps.h

index 89ad836..7c3be18 100644 (file)
@@ -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