Closed
Bug 597579
Opened 14 years ago
Closed 14 years ago
Investigate downloading updates to sd card
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b3+ | --- |
People
(Reporter: blassey, Assigned: alexp)
Details
Attachments
(2 files)
5.58 KB,
patch
|
robert.strong.bugs
:
review+
blassey
:
review+
|
Details | Diff | Splinter Review |
1.78 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
We currently download updates to phone memory, which we know gets tight for some users. Putting it on the sd card may be better.
Comment 1•14 years ago
|
||
This can be implemented in a similar fashion as the updates dir (e.g. "UpdRootD") which is in the user's profile on Windows. http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#270 The app update work after that is implemented would be pretty simple.
Comment 2•14 years ago
|
||
Fennec even has a directory provider component where we can add the logic to move the "UpdRootD" location
Comment 3•14 years ago
|
||
I hit out of space a lot when upgrading, for what it's worth.
Assignee | ||
Comment 4•14 years ago
|
||
- Use UpdRootD for Android - Look for the update APK under /sdcard/downloads
Assignee | ||
Updated•14 years ago
|
Attachment #487210 -
Flags: review?(robert.bugzilla)
Attachment #487210 -
Flags: review?(blassey.bugs)
Attachment #487210 -
Flags: review?
Assignee | ||
Comment 5•14 years ago
|
||
Added UpdRootD to DirectoryProvider component.
Attachment #487211 -
Flags: review?(mark.finkle)
Reporter | ||
Updated•14 years ago
|
Attachment #487210 -
Flags: review?(blassey.bugs) → review+
Reporter | ||
Comment 7•14 years ago
|
||
I wonder if we should make sure the updates folder is only writable by org.mozilla.fennec
Assignee | ||
Comment 8•14 years ago
|
||
(In reply to comment #7) > I wonder if we should make sure the updates folder is only writable by > org.mozilla.fennec While we're using APK I don't think it's too dangerous to have it accessible by other apps, as the package is signed. Besides, it seems like we cannot change the file (or dir?) permissions on the SD card. The code, which changed APK permissions, added in the original implementation, fails when tries to change permissions of the file, which is now on the SD card.
Updated•14 years ago
|
Attachment #487211 -
Flags: review?(mark.finkle) → review+
Comment 9•14 years ago
|
||
Comment on attachment 487210 [details] [diff] [review] Fix btw: the dir provider for xpcshell tests force UpdRootD to be the application directory for the tests. http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/test/unit/head_update.js.in#370
Attachment #487210 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 10•14 years ago
|
||
Should probably be blocking as it should improve the situation with another blocking bug 598649 (not enough memory for the update download).
Status: NEW → ASSIGNED
tracking-fennec: --- → ?
Updated•14 years ago
|
tracking-fennec: ? → 2.0b3+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 11•14 years ago
|
||
pushed http://hg.mozilla.org/mozilla-central/rev/2ee5b0622489 and http://hg.mozilla.org/mobile-browser/rev/54d36adb1d5c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•14 years ago
|
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•