diff options
author | Mike Lockwood <lockwood@android.com> | 2009-05-01 11:30:34 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-05-01 15:06:31 -0400 |
commit | 275555c8eb3fb5df6e7320873b88b77cdde85a9e (patch) | |
tree | 96c3bfe004179e2c08e87bf8784ad278dfdfe53d /test-runner/android | |
parent | 767db0a1ec760042b145e7c19a672c7180ad10f3 (diff) | |
download | frameworks_base-275555c8eb3fb5df6e7320873b88b77cdde85a9e.zip frameworks_base-275555c8eb3fb5df6e7320873b88b77cdde85a9e.tar.gz frameworks_base-275555c8eb3fb5df6e7320873b88b77cdde85a9e.tar.bz2 |
location: Add support for location providers outside of the system process.
Also added new permissions android.permission.INSTALL_LOCATION_PROVIDER
and android.permission.INSTALL_LOCATION_COLLECTOR to the public API.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'test-runner/android')
-rw-r--r-- | test-runner/android/test/TestLocationProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-runner/android/test/TestLocationProvider.java b/test-runner/android/test/TestLocationProvider.java index 500786d..08603e3 100644 --- a/test-runner/android/test/TestLocationProvider.java +++ b/test-runner/android/test/TestLocationProvider.java @@ -189,7 +189,7 @@ public class TestLocationProvider extends ILocationProvider.Stub { mLocation.setExtras(extras); mLocation.setTime(time); try { - mLocationManager.setLocation(mLocation); + mLocationManager.reportLocation(mLocation); } catch (RemoteException e) { Log.e(TAG, "RemoteException calling updateLocation"); } |