OSDN Git Service

am b678f3bb: (-s ours) Add support for GPS privacy lock. DO NOT MERGE
authorMike Lockwood <lockwood@android.com>
Wed, 31 Mar 2010 00:35:12 +0000 (17:35 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Wed, 31 Mar 2010 00:35:12 +0000 (17:35 -0700)
Merge commit 'b678f3bb6c3fa3cc88cda872909ace5791a6304c' into kraken

* commit 'b678f3bb6c3fa3cc88cda872909ace5791a6304c':
  Add support for GPS privacy lock.  DO NOT MERGE

include/hardware_legacy/gps.h

index 84ab348..6bf7051 100755 (executable)
@@ -124,11 +124,6 @@ typedef uint16_t AGpsStatusValue;
  */
 #define AGPS_INTERFACE      "agps"
 
-/**
- * Name for the GPS privacy interface.
- */
-#define GPS_PRIVACY_INTERFACE      "privacy"
-
 /** Represents a location. */
 typedef struct {
     /** Contains GpsLocationFlags bits. */
@@ -329,15 +324,6 @@ typedef struct {
     int  (*set_server)( AGpsType type, const char* hostname, int port );
 } AGpsInterface;
 
-/** Extended interface for GPS privacy support. */
-typedef struct {
-    /**
-     * Opens the AGPS interface and provides the callback routines
-     * to the implemenation of this interface.
-     */
-    void  (*set_privacy_lock)( int enable_lock );
-} GpsPrivacyInterface;
-
 /** Returns the hardware GPS interface. */
 const GpsInterface* gps_get_hardware_interface();