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

Commit 3af22033 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I8b791d4f into eclair

* changes:
  Don't send default phone number for 0.vcf card.
parents f3aff521 ebab06c2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -421,10 +421,6 @@ public class BluetoothPbapService extends Service {
        TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
        if (tm != null) {
            sLocalPhoneNum = tm.getLine1Number();
            if (TextUtils.isEmpty(sLocalPhoneNum)) {
                // Default number (000000) should be ok
                sLocalPhoneNum = this.getString(R.string.defaultnumber);
            }
            sLocalPhoneName = tm.getLine1AlphaTag();
            if (TextUtils.isEmpty(sLocalPhoneName)) {
                sLocalPhoneName = this.getString(R.string.localPhoneName);