Merge "Add more NetworkRecommendationProvider documentation." into oc-dev

am: 5879aa4b03

Change-Id: I4e41346ea4dd9a731f8747c3e447deb0a991fc3d
This commit is contained in:
Jeremy Joslin
2017-04-13 21:04:53 +00:00
committed by android-build-merger

View File

@@ -20,6 +20,19 @@ import java.util.concurrent.atomic.AtomicBoolean;
/**
* The base class for implementing a network recommendation provider.
* <p>
* A network recommendation provider is any application which:
* <ul>
* <li>Is granted the {@link permission#SCORE_NETWORKS} permission.
* <li>Includes a Service for the {@link NetworkScoreManager#ACTION_RECOMMEND_NETWORKS} intent
* which is protected by the {@link permission#BIND_NETWORK_RECOMMENDATION_SERVICE} permission.
* </ul>
* <p>
* Implementations are required to implement the abstract methods in this class and return the
* result of {@link #getBinder()} from the <code>onBind()</code> method in their Service.
* <p>
* The default network recommendation provider is controlled via the
* <code>config_defaultNetworkRecommendationProviderPackage</code> config key.
* @hide
*/
@SystemApi