• Staffan Lindvall's avatar
    pullVcard of unknown phone number · 0fdf5a12
    Staffan Lindvall authored
    When performing a pullVcardListing, pullVcardEntry or pullPhonebook
    on a phone with a call list which contains an unknown phone number,
    the phone returns "-1" as number/name. Corresponding errors exist
    for private and payphone numbers, where the phone returns the name
    "-2" and "-3", respectively. During pullVcardListing the Name
    attribute may contain the phone number, in case the name is not
    known. The latter is already implemented today, however, instead of
    using e.g. "-1" as name when the phone number is not known the
    phone should use Name = "Unknown". Currently there are no other
    matching corresponding strings defined for private and payphone
    number, which means that for now "Unknown" may be returned as name
    also for these numbers.
    During pullVcardEntry and during pullPhonebook when the phone number
    is unknown then the Number attribute should contain the string
    "Unknown". During the same scenario the FN and N attributes both
    should contain the string "" when the name is not known. When it
    comes to private and payphone numbers the same as for
    pullVcardListing apply here, i.e. "Unknown" may be used in the
    Number attribute also for these numbers
    
    Change-Id: I33cf6ceecf5c8fba426eacbb3a507228f8e4de4d
    0fdf5a12
BluetoothPbapVcardManager.java 23.6 KB