diff --git a/api/system-current.txt b/api/system-current.txt index 0ada1abbe1c18..37dfee611d129 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -27720,7 +27720,6 @@ package android.net { method public boolean clearScores() throws java.lang.SecurityException; method public void disableScoring() throws java.lang.SecurityException; method public java.lang.String getActiveScorerPackage(); - method public android.net.RecommendationResult requestRecommendation(android.net.RecommendationRequest) throws java.lang.SecurityException; method public boolean setActiveScorer(java.lang.String) throws java.lang.SecurityException; method public boolean updateScores(android.net.ScoredNetwork[]) throws java.lang.SecurityException; field public static final java.lang.String ACTION_CHANGE_ACTIVE = "android.net.scoring.CHANGE_ACTIVE"; diff --git a/core/java/android/net/NetworkScoreManager.java b/core/java/android/net/NetworkScoreManager.java index e6fe0d0df76a4..70ecf89dc1557 100644 --- a/core/java/android/net/NetworkScoreManager.java +++ b/core/java/android/net/NetworkScoreManager.java @@ -419,6 +419,7 @@ public class NetworkScoreManager { * to connect to * @throws SecurityException if the caller does not hold the * {@link android.Manifest.permission#REQUEST_NETWORK_SCORES} permission. + * @hide */ public RecommendationResult requestRecommendation(RecommendationRequest request) throws SecurityException {