diff options
author | John Eckerdal <john.eckerdal@sonymobile.com> | 2014-02-21 17:54:15 +0100 |
---|---|---|
committer | Henrik Baard <henrik.baard@sonymobile.com> | 2014-03-20 14:37:30 +0100 |
commit | a804d65f4aa31c7088e7f2150d96f1bf92e9c3be (patch) | |
tree | 22d4429337d82e4c817572c79e33c8363f4323ea /rs/java/android/renderscript/Script.java | |
parent | dac298005ce3c1361e27bb740e4b518765d43d77 (diff) |
Prevent system_server shutdown when trying to format external storage
The SystemUI does not provied path information on which volume that should
be formatted. So when the user selects "Blank CD Card" an intent is sent to
ExternalMediaFormatActivity and forwarded to ExternalStorageFormatter then
actual volume that is unformatted is not included in the information sent
in the Intent.
This causes the ExternalStorageFormatter to go through Environment to find
a Volume but the actual volume found that way is not correct.
To solve the issue look up the correct StorageVolumeand reuse the existing
EXTRA_STORAGE_VOLUME extra and send it as part of the Intent.
Change-Id: Ib360a9ce071ebe95fc3ca847ed68b6db05928a42
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions