Rename WifiManager.ACTION_WIFI_SCAN_AVAILABLE

Renamed to WIFI_SCAN_AVAILABILITY_CHANGED to
conform to API guidelines.

Bug: 148781526
Test: compiles
Change-Id: Ic84cbededfe9e5d02900fbe7a6a99c059af89641
diff --git a/tests/cts/net/src/android/net/wifi/cts/WifiManagerTest.java b/tests/cts/net/src/android/net/wifi/cts/WifiManagerTest.java
index b5590f8..743454f 100644
--- a/tests/cts/net/src/android/net/wifi/cts/WifiManagerTest.java
+++ b/tests/cts/net/src/android/net/wifi/cts/WifiManagerTest.java
@@ -222,10 +222,10 @@
     // Get the current scan status from sticky broadcast.
     private boolean isScanCurrentlyAvailable() {
         IntentFilter intentFilter = new IntentFilter();
-        intentFilter.addAction(WifiManager.ACTION_WIFI_SCAN_AVAILABLE);
+        intentFilter.addAction(WifiManager.ACTION_WIFI_SCAN_AVAILABILITY_CHANGED);
         Intent intent = mContext.registerReceiver(null, intentFilter);
         assertNotNull(intent);
-        if (intent.getAction().equals(WifiManager.ACTION_WIFI_SCAN_AVAILABLE)) {
+        if (intent.getAction().equals(WifiManager.ACTION_WIFI_SCAN_AVAILABILITY_CHANGED)) {
             return intent.getBooleanExtra(WifiManager.EXTRA_SCAN_AVAILABLE, false);
         }
         return false;