diff options
author | Mike Lockwood <lockwood@android.com> | 2009-05-21 11:28:20 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-05-21 11:28:20 -0400 |
commit | fd6e5f0dda50e113db4ccc55338b6c4f09da37a4 (patch) | |
tree | faf8e2c6510d2a0c4439cdcdfe74d97100dc9020 /test-runner/android | |
parent | bb7b7b316a6a15f4df6af3c62a293920c68c7b00 (diff) | |
download | frameworks_base-fd6e5f0dda50e113db4ccc55338b6c4f09da37a4.zip frameworks_base-fd6e5f0dda50e113db4ccc55338b6c4f09da37a4.tar.gz frameworks_base-fd6e5f0dda50e113db4ccc55338b6c4f09da37a4.tar.bz2 |
location: Replace ILocationCollector interface with new ILocationProvider method
This change replaces ILocationCollector with a more general mechanism that
passes locations received from a provider to all other providers.
The network location provider now uses this to implement the location collector.
In the future, this could be used to inject network locations to the GPS
as aiding data.
This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'test-runner/android')
-rw-r--r-- | test-runner/android/test/TestLocationProvider.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-runner/android/test/TestLocationProvider.java b/test-runner/android/test/TestLocationProvider.java index dded745..2ea020e 100644 --- a/test-runner/android/test/TestLocationProvider.java +++ b/test-runner/android/test/TestLocationProvider.java @@ -159,6 +159,9 @@ public class TestLocationProvider extends ILocationProvider.Stub { public void updateNetworkState(int state) { } + public void updateLocation(Location location) { + } + public boolean sendExtraCommand(String command, Bundle extras) { return false; } |