Closed Bug 1208987 Opened 9 years ago Closed 9 years ago

[Flame][Music NGA]Music library does not refresh after unplugging the phone from the computer when USB Storage is on.

Categories

(Firefox OS Graveyard :: Gaia::Music, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-v2.2 unaffected, b2g-master verified)

VERIFIED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.2 --- unaffected
b2g-master --- verified

People

(Reporter: xiongfuchao, Assigned: squib)

References

Details

Attachments

(4 files)

Attached file logcat_1656.txt
[1.Description]:
[Flame v2.5][Music NGA] Music app will show an empty list after unplugging the phone from the computer when USB Storage is on.
Found time: 16:56
See attachment: Flame2.5.3gp & logcat_1656.txt

[2.Testing Steps]: 
Prerequisite: USB sharing is on and the device is connected to a PC with a USB cable 
1. Launch the Messaging app. 
2. Tap the new message icon. 
3. Tap the attachment icon then Music. 
4. Unplug the USB cable from the device. 

[3.Expected Result]: 
4.The error page is replaced by the list of music files on the device. All song's in the user's library appears properly

[4.Actual Result]: 
4.The error page is replaced but music library does not refresh, and device just shows an empty list.

[5.Reproduction build]: 
Flame 2.5(Affected):
Build ID               20150927150205
Gaia Revision          285486b417f1cb8316b19c0698a6655fc053fbd6
Gaia Date              2015-09-25 14:11:30
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/6256ec9113c115141aab089c45ee69438884b680
Gecko Version          44.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150927.184956
Firmware Date          Sun Sep 27 18:50:08 EDT 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
occasionally Recurrence,8/10

[7.TCID]: 
13270
Attached video Flame_v2.5.3gp
Assignee: nobody → squibblyflabbetydoo
Status: NEW → ASSIGNED
Adding qawanted to retest this in Music NGA (the new music) app
Keywords: qawanted
QA Contact: jmercado
This issue still occurs on the latest Aries and Flame Master builds using NGA Music.  Note that this issue does NOT occur with OGA so it is NGA specific.

Actula Results: The music app does not refresh available audio files when unplugging the usb cord.

Environmental Variables:
Device: Aries 2.5
BuildID: 20150930115400
Gaia: 14a64f1ebd353bccc3f1c0399e1a01a03327749e
Gecko: 97e537f85183ef31481602ab9e5587a6e7d16b4d
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Environmental Variables:
Device: Flame 2.5
BuildID: 20150930030225
Gaia: 1bc0b19527777ffee494962b48db4be857b07d64
Gecko: 891ee0d0ba3ec42b6484cf0205b3c95e21c58f74
Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd
Version: 44.0a1 (2.5) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
QA Whiteboard: [QAnalyst-Triage?]
Keywords: qawanted
blocking-b2g: --- → 2.5+
Priority: -- → P1
Whiteboard: [investigation eta 10/15]
Jim, any update on the investigation?
Comment on attachment 8675867 [details] [review]
[gaia] jimporter:music-fix-overlays > mozilla-b2g:master

So the issue here is that we only get the enumerable event once. Later, we transition directly from unavailable to ready. Thus, we need to be sure that we unblock the functions that require an enumerable database when we transition to "ready".
Attachment #8675867 - Flags: review?(jdarcangelo)
Attachment #8675867 - Flags: review?(jdarcangelo) → review+
Whiteboard: [investigation eta 10/15]
Landed: https://github.com/mozilla-b2g/gaia/commit/e9731643e1d3ef8da480637f2527f2e1c2fb1afa
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
This bug has been verified as pass on latest build of Flame KK v2.5 and Aries KK v2.5 by the STR in comment 0.
Actual results: The error page is replaced by the list of music files on the device. All songs in the user's library appear properly.
See attachment: Verified_Flame_v2.5.3gp.
Reproduce rate: 0/10

Device: Flame KK v2.5 (Pass)
Build ID               20151020150236
Gaia Revision          11eb5d4cb2675d359d277ae17772bc75f7ccedbc
Gaia Date              2015-10-20 16:22:28
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/f397034950304b845175f8dab8fccbdd0e8bf995
Gecko Version          44.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151020.182846
Firmware Date          Tue Oct 20 18:28:58 EDT 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device: Aries KK v2.5 (Pass)
Build ID               20151020225607
Gaia Revision          11eb5d4cb2675d359d277ae17772bc75f7ccedbc
Gaia Date              2015-10-20 16:22:28
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/f397034950304b845175f8dab8fccbdd0e8bf995
Gecko Version          44.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151020.221418
Firmware Date          Tue Oct 20 22:14:26 UTC 2015
Bootloader             s1
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+][MGSEI-Triage+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: