Loading src/com/android/bluetooth/map/BluetoothMapContent.java +0 −1 Original line number Diff line number Diff line Loading @@ -2190,7 +2190,6 @@ public class BluetoothMapContent { if (tm != null) { fi.mPhoneType = tm.getPhoneType(); fi.mPhoneNum = tm.getLine1Number(); fi.mPhoneAlphaTag = tm.getLine1AlphaTag(); } } Loading src/com/android/bluetooth/map/BluetoothMapContentObserver.java +1 −4 Original line number Diff line number Diff line Loading @@ -1454,12 +1454,9 @@ public class BluetoothMapContentObserver { Context.TELEPHONY_SERVICE); if (tm != null) { phone = tm.getLine1Number(); name = tm.getLine1AlphaTag(); if (name == null || name.isEmpty()) { name = phone; } } } String priority = "no"; // no priority for sms /* Incoming message from the network */ if (mMapEventReportVersion Loading src/com/android/bluetooth/pbap/BluetoothPbapService.java +1 −5 Original line number Diff line number Diff line Loading @@ -50,7 +50,6 @@ import android.os.Message; import android.os.PowerManager; import android.os.UserManager; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Log; import com.android.bluetooth.IObexConnectionHandler; Loading Loading @@ -785,11 +784,8 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); if (tm != null) { sLocalPhoneNum = tm.getLine1Number(); sLocalPhoneName = tm.getLine1AlphaTag(); if (TextUtils.isEmpty(sLocalPhoneName)) { sLocalPhoneName = this.getString(R.string.localPhoneName); } } if (VERBOSE) Log.v(TAG, "Local Phone Details- Number:" + sLocalPhoneNum + ", Name:" + sLocalPhoneName); Loading Loading
src/com/android/bluetooth/map/BluetoothMapContent.java +0 −1 Original line number Diff line number Diff line Loading @@ -2190,7 +2190,6 @@ public class BluetoothMapContent { if (tm != null) { fi.mPhoneType = tm.getPhoneType(); fi.mPhoneNum = tm.getLine1Number(); fi.mPhoneAlphaTag = tm.getLine1AlphaTag(); } } Loading
src/com/android/bluetooth/map/BluetoothMapContentObserver.java +1 −4 Original line number Diff line number Diff line Loading @@ -1454,12 +1454,9 @@ public class BluetoothMapContentObserver { Context.TELEPHONY_SERVICE); if (tm != null) { phone = tm.getLine1Number(); name = tm.getLine1AlphaTag(); if (name == null || name.isEmpty()) { name = phone; } } } String priority = "no"; // no priority for sms /* Incoming message from the network */ if (mMapEventReportVersion Loading
src/com/android/bluetooth/pbap/BluetoothPbapService.java +1 −5 Original line number Diff line number Diff line Loading @@ -50,7 +50,6 @@ import android.os.Message; import android.os.PowerManager; import android.os.UserManager; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Log; import com.android.bluetooth.IObexConnectionHandler; Loading Loading @@ -785,11 +784,8 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); if (tm != null) { sLocalPhoneNum = tm.getLine1Number(); sLocalPhoneName = tm.getLine1AlphaTag(); if (TextUtils.isEmpty(sLocalPhoneName)) { sLocalPhoneName = this.getString(R.string.localPhoneName); } } if (VERBOSE) Log.v(TAG, "Local Phone Details- Number:" + sLocalPhoneNum + ", Name:" + sLocalPhoneName); Loading