Closed Bug 597608 Opened 15 years ago Closed 15 years ago

Some files do not get updated when a new APK is installed over the old one

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(fennec2.0b1+)

VERIFIED FIXED
Tracking Status
fennec 2.0b1+ ---

People

(Reporter: alexp, Assigned: alexp)

Details

Attachments

(1 file)

After automatic update from 2010-09-16 nightly to 2010-09-17 Fennec suggests to get and install another update though it is not available yet for the 2010-09-17 build.
Attached patch FixSplinter Review
This happens because the application.ini does not get updated. On the first run of Fennec this and some other files get extracted from the .apk and get the current LastModified time. When a new version starts it checks for the extracted files and finds their timestamp time is later than the one in the archive, so those files are skipped. The fix is to set the LastModified time for the extracted files to the one from the archive entry, so the timestamp check would work properly.
Assignee: nobody → alexp
Status: NEW → ASSIGNED
Attachment #476450 - Flags: review?(mwu)
tracking-fennec: --- → ?
Comment on attachment 476450 [details] [diff] [review] Fix Looks fine
Attachment #476450 - Flags: review?(mwu) → review+
tracking-fennec: ? → 2.0b1+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updates are working fine on the latest Nightly build. Due to this fact and because this bug is old now, I will close this issue as verified fixed. -- Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110913 Firefox/9.0a1 Fennec/9.0a1 Device: Samsung Galaxy S OS: Android 2.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: