i have some issue on my code on android

i have 2 edit text one and two (phone1 and phone 2)
all in number type
and i have also listpreference that contain the select choice one or two (phone1 and phone 2) on array

i put an if condition on methode makecall()

if(setting_pref.getString("select", "") == "phone 1"){
-------
the code will make a call for the phone 1
}
else if(setting_pref.getString("select", "") == "phone2"){
the code will make a call for the phone 2
}

the problem is the if condition not work and the code not complete calling

can anybody help me (: