Closed
Bug 1218295
Opened 10 years ago
Closed 10 years ago
[Bluetooth] Convert the relative path of PullvCardEntry to absolute path if PBAP request isn’t using X-BT-UID.
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(blocking-b2g:2.2r+, firefox44 fixed, b2g-v2.2r fixed)
People
(Reporter: jaliu, Assigned: jaliu)
References
Details
Attachments
(2 files, 1 obsolete file)
|
1.41 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.41 KB,
patch
|
Details | Diff | Splinter Review |
Since FxOS doesn’t expose 'currentPath' of PBAP virtual folders structure to Gaia, BluetoothVCardPullingEvent should use absolute path to describe the vCard entry. But there is one exception, if PullvCardEntry uses contact unique identifier (X-BT-UID), it doesn’t need path of virtual folder.
Please refer to “5.4.2 Name, PBAP spec. 1.2” for more details.
| Assignee | ||
Comment 1•10 years ago
|
||
Hi Ben,
Please help to review the patch.
Thank you.
Attachment #8678709 -
Flags: review?(btian)
Comment 2•10 years ago
|
||
Comment on attachment 8678709 [details] [diff] [review]
(for m-c) Convert the relative path of PullvCardEntry to absolute path if PBAP request isn't using X-BT-UID. (v1)
Review of attachment 8678709 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with comment addressed.
::: dom/bluetooth/bluedroid/BluetoothPbapManager.cpp
@@ +478,5 @@
> tagCount = MOZ_ARRAY_LENGTH(sVCardEntryTags);
> tags = sVCardEntryTags;
> +
> + // Convert relative path to absolute path if it's not using X-BT-UID.
> + if (name.Find(NS_LITERAL_STRING("X-BT-UID")) == -1) {
Replace -1 with |kNotFound|.
Attachment #8678709 -
Flags: review?(btian) → review+
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → 6jamin
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•10 years ago
|
||
- revise previous patch based on #comment 2.
Thank Ben for reviewing the patch.
Attachment #8678709 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
blocking-b2g: --- → 2.2r?
| Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Set 2.2r blocker for required bluetooth feature PBAP.
Blocks: 1199528
blocking-b2g: 2.2r? → 2.2r+
| Assignee | ||
Comment 6•10 years ago
|
||
#Attachment 8679267 [details] [diff] looks fine on treeherder.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d2cce815e2d6
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 7•10 years ago
|
||
status-b2g-v2.2r:
--- → fixed
Keywords: checkin-needed
Comment 9•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S10 (30Oct)
You need to log in
before you can comment on or make changes to this bug.
Description
•