Closed
Bug 1055699
Opened 10 years ago
Closed 10 years ago
[MTP] integrate volume isRemovable status
Categories
(Firefox OS Graveyard :: MTP/UMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S4 (23jan)
People
(Reporter: dhylands, Assigned: edenchuang)
References
Details
Attachments
(1 file, 1 obsolete file)
Once bug 1033952 lands, then we should propagate that knowledge into MozMtpStorage::StorageAvailable
Updated•10 years ago
|
Component: General → MTP/UMS
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → echuang
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.2 S3 (9jan)
Assignee | ||
Comment 1•10 years ago
|
||
Integrate volume isRemovable status while creating corresponding MozMtpStorage
Attachment #8540708 -
Flags: review?(dhylands)
Reporter | ||
Updated•10 years ago
|
Attachment #8540708 -
Flags: review?(dhylands) → review?(dhylands)
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 8540708 [details] [diff] [review]
bug1055699_integate_volume_isRemovable_status
Review of attachment 8540708 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the change to use IUsHotSwappable
My apologies for the time it took to get this review done.
::: dom/system/gonk/MozMtpStorage.cpp
@@ +101,5 @@
> + mMtpStorage.reset(new MtpStorage(mStorageID, // id
> + mountPoint.get(), // filePath
> + mVolume->NameStr(), // description
> + 1024uLL * 1024uLL, // reserveSpace
> + mVolume->IsRemovable(), // removable
Since there is IsHotSwappable and IsRemovable (I was thinking that only IsRemovable would be implemented when I wrote this bug), this should call IsHoptSwappable()
Attachment #8540708 -
Flags: review?(dhylands) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Integrating volume isRemovable status into MtpStorage creation.
Using IsHotSwappable to replace IsRemovable.
Attachment #8540708 -
Attachment is obsolete: true
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8552978 [details] [diff] [review]
Bug 1055699:integate_volume_isRemovable_status. r=dhylands.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): An enhancement for giving the correct removable status in MTP database
User impact if declined: No, just an enhancement.
Testing completed: https://treeherder.mozilla.org/#/jobs?repo=try&revision=860b0d30a080
Risk to taking this patch (and alternatives if risky): low risky. No impact on any original functions.
String or UUID changes made by this patch: None
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 5•10 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: 2.2 S3 (9jan) → 2.2 S4 (23jan)
You need to log in
before you can comment on or make changes to this bug.
Description
•