Closed Bug 594549 Opened 14 years ago Closed 14 years ago

Provide update locale info in the Android package

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)

References

Details

Attachments

(1 file)

Update service cannot detect the locale due to a missing update.locale file.
Attached patch FixSplinter Review
Attachment #473223 - Flags: review?
Attachment #473223 - Flags: review? → review?(blassey.bugs)
Assignee: nobody → alexp
Blocks: 587384
Status: NEW → ASSIGNED
Comment on attachment 473223 [details] [diff] [review]
Fix


>+        unpackFile(zip, buf, null, "update.locale");

what happens if MOZ_UPDATER isn't defined and update.locale isn't in the .apk?
(In reply to comment #2)
> >+        unpackFile(zip, buf, null, "update.locale");
> 
> what happens if MOZ_UPDATER isn't defined and update.locale isn't in the .apk?

unpackFile() function writes in the log "Can't find update.locale in /data/app/org.mozilla.fennec.apk" and just returns.
tracking-fennec: --- → ?
Attachment #473223 - Flags: review?(blassey.bugs) → review+
tracking-fennec: ? → 2.0b1+
pushed http://hg.mozilla.org/mozilla-central/rev/be06ea6f6558
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
This issue doesn't occur anymore on the latest Nightly build.

Verified fixed on:
Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110914
Firefox/9.0a1 Fennec/9.0a1
Device: HTC Desire
OS: Android 2.2
Status: RESOLVED → VERIFIED
Blocks: 686480
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: