Closed
Bug 567858
Opened 14 years ago
Closed 14 years ago
Allow installation to SD card in Android 2.2
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
Attachments
(1 file)
757 bytes,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
This patch enables installation to the SD card in Android 2.2 ("Froyo"). It sets installLocation to "auto" which lets the OS decide whether to use internal or external storage. It seems to use internal storage by default when there is space available. See: http://developer.android.com/guide/appendix/install-location.html There is also a "preferExternal" option, but "auto" may be better for performance reasons. In my completely unscientific stopwatch tests, startup was about 100ms faster from internal storage (measuring from touching the icon on the home screen until the urlbar appears). "Cold" tests were after rebooting the phone; "warm" tests were after killing the Fennec process. Cold (SD card): 6.807 seconds Cold (internal): 6.677 seconds Warm (SD card): 3.29, 3.32, 3.34 (avg 3.32 stdev .02) Warm (internal): 3.22, 3,21, 3.20 (avg 3.21 stdev .01) This patch is against the mozilla-droid repo and it requires the Android 2.2 SDK.
Attachment #447180 -
Flags: review?(blassey.bugs)
Comment 1•14 years ago
|
||
Comment on attachment 447180 [details] [diff] [review] patch auto seems like the safest option for now
Attachment #447180 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
Comment 2•14 years ago
|
||
pushed http://hg.mozilla.org/mozilla-central/rev/dfeb5568bf9f
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•