New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 707856 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit 20 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Improve download UI to handle device storage full failure case

Project Member Reported by dah...@chromium.org, Apr 3 2017

Issue description

Today we don't have any UI to handle the case when the user's device storage is full. Instead the download just pauses. We need to get telemetry on how often this happens and provide a baseline UX.
 
Cc: -talo@chromium.org dah...@chromium.org chili@chromium.org
Owner: ----
Here is talo@ suggested solution:

1. User starts to download a page or a file but doesn't have space
2. Download is paused (notification is in paused state)
3. Notification now reads:
Helper text: "Not enough space on device."
Actions: "Free up space", "Cancel"
4. Tapping "Free up space" takes users to android storage settings
5. Once there is enough space on the device, download automatically resumes

If the change in actions, is difficult, we could also just change the helper text and keep the current actions.

Comment 2 by talo@chromium.org, Apr 4 2017

Issue 667817 has been merged into this issue.
- We can detect the free space on disk where we're saving the file (ApiCompatibilityUtils has the helper methods for this and it's how we drive the UI).  I think using a native call to stat would probably return the same data.

- As for loading the storage settings, we can try kicking off an intent with ACTION_INTERNAL_STORAGE_SETTINGS and seeing if that works.  Not sure though.
Cc: aboss@chromium.org
Components: UI>Browser>Downloads
Owner: aboss@chromium.org
Status: Assigned (was: Untriaged)
Owner: nancygao@chromium.org

Sign in to add a comment