Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a20fa4ea authored by Oscar Shu's avatar Oscar Shu Committed by Android (Google) Code Review
Browse files

Merge "WifiManager: getScanResults fix javadoc"

parents db63cbe7 5f00c8a9
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -1698,9 +1698,7 @@ public class WifiManager {
     * @return the list of access points found in the most recent scan. An app must hold
     * @return the list of access points found in the most recent scan. An app must hold
     * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_COARSE_LOCATION} or
     * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_COARSE_LOCATION} or
     * {@link android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION} permission
     * {@link android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION} permission
     * in order to get valid results.  If there is a remote exception (e.g., either a communication
     * in order to get valid results.
     * problem with the system service or an exception within the framework) an empty list will be
     * returned.
     */
     */
    public List<ScanResult> getScanResults() {
    public List<ScanResult> getScanResults() {
        try {
        try {