Info 2 [Guide] [How-to] Remove Connections Optimizer Android 4.3 TW

Remove Connections Optimizer

I thought I better share this here in case anyone else needs it as well.

There seems to be some confusion over the Connections Optimizer because once the app has been removed from a rom, the menu item still displays causing FC issues when selected.
This will remove the option from Settings/More networks/Mobile networks (screenshot attached).

[Guide] For the Devs

Smali edit.
SecPhone/com/android/phone/PhoneFeature.smali
Remove or comment out the line highlighted in Red.
Cheers - TD


Remove the line highlighted in RED:
Code:
Select Code
    const-string v6, "sprint_connections_optimizer"

    invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-nez v2, :cond_12b5

    const/4 v2, 0x0

    :goto_d86
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v3, v6, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-02-01-15-40-52_1_.png
Views:	775
Size:	76.0 KB
ID:	2653188   Click image for larger version

Name:	Screenshot_2014-02-01-15-23-53_1_.png
Views:	696
Size:	56.7 KB
ID:	2653189