Closed
Bug 1194045
Opened 9 years ago
Closed 9 years ago
[Flame][settings]USB protocol can only be changed while USB storage is disabled.
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:2.5+)
People
(Reporter: edenchuang, Assigned: gasolin)
References
Details
Attachments
(4 files, 1 obsolete file)
According to but 1142450 comment 16, USB protocol can only be changed while USB storage is disabled.
Reporter | ||
Comment 1•9 years ago
|
||
Hello Fred
Can you help on this spec change on setting app?
Flags: needinfo?(gasolin)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gasolin
Flags: needinfo?(gasolin)
Assignee | ||
Comment 2•9 years ago
|
||
[Blocking Requested - why for this release]: spec change
blocking-b2g: --- → 2.5?
Component: MTP/UMS → Gaia::Settings
Assignee | ||
Comment 3•9 years ago
|
||
Harly, could you help find the right person to provide update UI spec?
The main issue might be
* what the proper UI should be shown when USB disabled. (just make the left side panel not clickable when USB disabled?)
Flags: needinfo?(hhsu)
Updated•9 years ago
|
blocking-b2g: 2.5? → 2.5+
Reporter | ||
Updated•9 years ago
|
Target Milestone: --- → FxOS-S9 (16Oct)
Reporter | ||
Updated•9 years ago
|
Assignee | ||
Comment 4•9 years ago
|
||
per offline discussion with harly, the UI will looks like wifi panel:
1. the USB storage switch is moving into the panel. Above with origin protocol selection checkboxes.
2. add an attribute for device customization.
2.1 if the device support switch storage in enabled mode, let protocol selection enabled
2.2 if the device does not support switch storage in enabled mode, only enable protocol selection when USB storage switch off
We can start implementation and set UI review.
Harly will find people to come out the UI spec when they have time.
Comment 5•9 years ago
|
||
Attaching the spec for the USB transfer protocol as described by Fred. Feel free to comment if there is any concerns.
Flags: needinfo?(hhsu)
Assignee | ||
Comment 6•9 years ago
|
||
the panel mockup (code may not functional)
Assignee | ||
Comment 7•9 years ago
|
||
the usb storage panel mockup (code may not functional)
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•9 years ago
|
||
Will add `usbHotProtocolSwitch` in device-features.json to determine if we support switch protocol when ums enabled
Need update MDN when the patch is landed
https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Market_customizations_guide
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8655328 [details] [review]
[gaia] gasolin:issue-1194045 > mozilla-b2g:master
Since its a relative big UI change, set 2 reviewers to make sure I did not left things.
also set UI review to Harly.
Attachment #8655328 -
Flags: ui-review?(hhsu)
Attachment #8655328 -
Flags: review?(yzenevich)
Attachment #8655328 -
Flags: review?(ehung)
Assignee | ||
Comment 12•9 years ago
|
||
Talked with Harly & Eden, the UI spec will be appended to:
* Show same ums description as in root panel to indicate current ums state.
* Disable the protocol selection when:
1. ums enabled & device plugged
2. usm enabled then disabled but device is still plugged
I can implement the appended spec as followup or in this patch due to the review status.
Assignee | ||
Comment 13•9 years ago
|
||
After checking code I think its better to separate Comment 12 effort in another issue.
We need refactor MediaVolume related function into module first before support above changes.
Comment 14•9 years ago
|
||
Comment on attachment 8655328 [details] [review]
[gaia] gasolin:issue-1194045 > mozilla-b2g:master
Looks good, left some feedback in Github, thanks Fred!
Attachment #8655328 -
Flags: ui-review?(hhsu) → ui-review+
Comment 15•9 years ago
|
||
Comment on attachment 8655328 [details] [review]
[gaia] gasolin:issue-1194045 > mozilla-b2g:master
sorry switched the wrong flag.
Attachment #8655328 -
Flags: ui-review?(hhsu)
Attachment #8655328 -
Flags: ui-review+
Attachment #8655328 -
Flags: review?(yzenevich)
Attachment #8655328 -
Flags: review+
Comment 16•9 years ago
|
||
Updated spec based on offline discussion with Fred and Eden.
Attachment #8653960 -
Attachment is obsolete: true
Comment 17•9 years ago
|
||
Comment on attachment 8655328 [details] [review]
[gaia] gasolin:issue-1194045 > mozilla-b2g:master
Thanks for your offline explanation, that helps me to understand the key part of this patch. Please write a summary of changes in your review request next time, thank you. :)
Attachment #8655328 -
Flags: review?(ehung) → review+
Assignee | ||
Comment 18•9 years ago
|
||
Comment on attachment 8655328 [details] [review]
[gaia] gasolin:issue-1194045 > mozilla-b2g:master
will set ui review to harly again in followup bug
Attachment #8655328 -
Flags: ui-review?(hhsu)
Assignee | ||
Comment 19•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 20•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•