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

Commit 7bee4c29 authored by Wink Saville's avatar Wink Saville
Browse files

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
parent 289c2f0d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -96,8 +96,8 @@ public class WirelessSettings extends SettingsPreferenceFragment {
    }

    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;
@@ -108,7 +108,7 @@ public class WirelessSettings extends SettingsPreferenceFragment {
            // 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);