summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Liu <steveliu@google.com>2019-12-04 03:48:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-12-04 03:48:07 +0000
commit2e45da3ac7ce700f3d8e191430deaa55de3771ef (patch)
tree167bb7081f1965463085ea9de93a4cd51ac29d74
parent387d5ff207fa28f2f4026601faac60a2fc62bad1 (diff)
parentdde9b487b0ac01ad89a9a13ff39438183d196958 (diff)
Merge "make ACTION_NETWORK_SETTINGS_RESET to be system API"
-rw-r--r--service/java/com/android/server/wifi/WifiServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiServiceImpl.java b/service/java/com/android/server/wifi/WifiServiceImpl.java
index 02cb7bb59..9778e8e5b 100644
--- a/service/java/com/android/server/wifi/WifiServiceImpl.java
+++ b/service/java/com/android/server/wifi/WifiServiceImpl.java
@@ -2937,7 +2937,7 @@ public class WifiServiceImpl extends BaseWifiService {
* Notify the Factory Reset Event to application who may installed wifi configurations.
*/
private void notifyFactoryReset() {
- Intent intent = new Intent(WifiManager.WIFI_NETWORK_SETTINGS_RESET_ACTION);
+ Intent intent = new Intent(WifiManager.ACTION_NETWORK_SETTINGS_RESET);
intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
mContext.sendBroadcastAsUser(intent, UserHandle.ALL,
android.Manifest.permission.NETWORK_CARRIER_PROVISIONING);