Closed Bug 723365 Opened 12 years ago Closed 6 years ago

Already in-progress app-update is not shown in notification bar after Fennec restarts after force quit

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: emorley, Unassigned)

References

Details

(Whiteboard: [MTD] [Updater])

Attachments

(1 file)

Galaxy S2, Android 2.3.4, Fennec native 12.0a1 2012-01-30

1) Cold start Nightly
2) Hardware menu button -> More -> Settings -> About Nightly
3) Press "Check for updates"
4) Agree to start download on update notification in android notification bar
5) When update download gets stuck at X% and can't be cancelled, force quit Nightly using task manager
6) Repeat steps 1-3

Expected results:
At step #6, "Looking for updates..." -> "Update Available" -> Tap and then notification shows in android notification bar & able to start download again.

Actual results:
At step #6, "Looking for updates..." -> "Update Available" -> tapping button does nothing, no notification shows up in android notification bar & button caption returns to "Check for updates" after a few seconds. Restarting phone does not help.
Attached file Logcat output
Filtered with |grep -i 'gecko'| but have the full log locally.
Hmmm... after trying half a dozen times, it's now offering to install the update without asking to download, which makes me think that it was actually downloading all the time, but was just not showing the notification.

I unfortunately don't have a copy of org.mozilla.fennec/files/Download/ from before it offered to install the update, but after comment 0's step #6, org.mozilla.fennec/files/Download/updates/0/update.status stated 'downloading', the apk in that folder was a few MB short of what I would have expected, and the update.version file was not present.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Please don't close bugs without also commenting.

The reason I left this open, was that the behaviour in comment 0 and comment 2 is still not correct. The update should be re-shown in the notification bar if it is indeed still in progress, since:
a) There is otherwise now no way to cancel the download (eg: now roaming and need to save data)
b) The user thinks update is broken

Updating summary to reflect comment 2 finding (presuming my interpretation is correct).
Severity: major → normal
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Summary: After a failed update, Fennec reports "Update Available", but no longer attempts to download/install it → Already in-progress app-update is not shown in notification bar after Fennec restarts after force quit
Status: REOPENED → NEW
Priority: -- → P3
Depends on: 786380
Whiteboard: [MTD] → [MTD] [Updater]
Mass-closing old bugs I filed that have not had recent activity/no longer affect me.
Status: NEW → RESOLVED
Closed: 12 years ago6 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: