Closed Bug 1055699 Opened 10 years ago Closed 10 years ago

[MTP] integrate volume isRemovable status

Categories

(Firefox OS Graveyard :: MTP/UMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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
Component: General → MTP/UMS
Assignee: nobody → echuang
Target Milestone: --- → 2.2 S3 (9jan)
Integrate volume isRemovable status while creating corresponding MozMtpStorage
Attachment #8540708 - Flags: review?(dhylands)
Attachment #8540708 - Flags: review?(dhylands) → review?(dhylands)
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+
Integrating volume isRemovable status into MtpStorage creation. Using IsHotSwappable to replace IsRemovable.
Attachment #8540708 - Attachment is obsolete: true
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
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.

Attachment

General

Created:
Updated:
Size: