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:
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:
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;
Aucun commentaire:
Enregistrer un commentaire