From da996f390e17e16f2dfa60e972e7ebc4f868f37e Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Fri, 13 Feb 2009 12:57:50 -0800 Subject: auto import from //branches/cupcake/...@131421 --- .../com/android/internal/location/INetworkLocationManager.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'location') diff --git a/location/java/com/android/internal/location/INetworkLocationManager.java b/location/java/com/android/internal/location/INetworkLocationManager.java index 83bbe1f..6b632fd 100644 --- a/location/java/com/android/internal/location/INetworkLocationManager.java +++ b/location/java/com/android/internal/location/INetworkLocationManager.java @@ -16,6 +16,8 @@ package com.android.internal.location; +import android.content.Context; + /** * Used to register network location and collection services * with the Location Manager Service. @@ -23,6 +25,13 @@ package com.android.internal.location; * {@hide} */ public interface INetworkLocationManager { + + /* callback to allow installation to occur in Location Manager's thread */ + public interface InstallCallback { + void installNetworkLocationProvider(Context context, INetworkLocationManager manager); + } + + void setInstallCallback(InstallCallback callback); void setNetworkLocationProvider(INetworkLocationProvider provider); void setLocationCollector(ILocationCollector collector); } \ No newline at end of file -- cgit v1.1