gps: Network initiated SUPL

Initial contribution from Qualcomm.

Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Danke Xie
2009-08-18 18:28:45 -04:00
committed by Mike Lockwood
parent 0409cde360
commit 22d1f9fb23
10 changed files with 836 additions and 11 deletions

View File

@@ -1417,4 +1417,20 @@ public class LocationManager {
Log.e(TAG, "RemoteException in reportLocation: ", e);
}
}
/**
* Used by NetInitiatedActivity to report user response
* for network initiated GPS fix requests.
*
* {@hide}
*/
public boolean sendNiResponse(int notifId, int userResponse) {
try {
return mService.sendNiResponse(notifId, userResponse);
} catch (RemoteException e) {
Log.e(TAG, "RemoteException in sendNiResponse: ", e);
return false;
}
}
}