Commits

Anonymous committed 0c8ea05

Use correct action string for provisioning.

Change to use the correct action string
com.adnroid.server.connectivityservice.CONNECTED_TO_PROVISIONING_NETWORK

Bug: 10551510
Change-Id: I917de4fcde06b72f520dec38e42c50859b2ee098

Comments (0)

Files changed (1)

src/com/android/settings/WirelessSettings.java

     }
 
     private String mManageMobilePlanMessage;
-    private static final String MOBILE_PROVISIONING_ACTION
-            = "com.android.server.connectivityservice.MOBILE_PROVISIONING_ACTION";
+    private static final String CONNECTED_TO_PROVISIONING_NETWORK_ACTION
+            = "com.android.server.connectivityservice.CONNECTED_TO_PROVISIONING_NETWORK_ACTION";
     public void onManageMobilePlanClick() {
         log("onManageMobilePlanClick:");
         mManageMobilePlanMessage = null;
             // Get provisioning URL
             String url = mCm.getMobileProvisioningUrl();
             if (!TextUtils.isEmpty(url)) {
-                Intent intent = new Intent(MOBILE_PROVISIONING_ACTION);
+                Intent intent = new Intent(CONNECTED_TO_PROVISIONING_NETWORK_ACTION);
                 intent.putExtra("EXTRA_URL", url);
                 Context context = getActivity().getBaseContext();
                 context.sendBroadcast(intent);