Closed Bug 1117629 Opened 11 years ago Closed 9 years ago

Can't save Image as Wallpaper w/KitKat device using DCIM->external SDCard setting

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: capella, Unassigned)

Details

I had changed my Camera setting to store pictures to my GS3 external storage / SD Card and later realized my attempts to save Images as Wallpaper were failing as a result. http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/GeckoApp.java?rev=120ddf617de1&mark=988-988#954 We issue a generic toast set_image_path_fail / "Unable to set image" that shares text with another toast fail message. http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/locales/en-US/android_strings.dtd?rev=51ca6ef95772&mark=306-307#306 I'd like to provide users a little more context is this case where we can perhaps deduce the issue, and maybe display an info "Prompt / OK" or somesuch.
from the FileNotFoundException that insertImage might throw can you get detailed specifics?
I'm pretty sure of the nature of the issue, as-in: http://stackoverflow.com/questions/25699970/how-to-handle-the-kitkat-rules-and-restrictions-of-sd-card We call the MediatStore.insertImage(cr, Bitmap ...) method (vs the one that throws FileNotFoundException. It just throws an generic Exception, but I'm assuming it's dying here ... http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3_r1/android/provider/MediaStore.java#613 ... trying to open the target file on the specified external output folder on the verboten SDCard. So the thought was, if we fail can we have someone with better language skills than I, (UX?) formulate a message to info-Prompt / Alert the user to a possible solution? The code itself would seem trivial :-)
Sorry, line #624 specifically for the failure point.
WONTFIX my own issue ... can't repro, and doesn't seem of further value.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.