New issue
Advanced search Search tips

Issue 822106 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 1
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

android on chrombook getStorageVolumes does not detect removable storage

Reported by opatr...@gmail.com, Mar 15 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
Platform: 10452.1.0

Steps to reproduce the problem:
insert an sd card, and or usb storage device then make an android app with the code below        

List<StorageVolume> allvolumes = mStorageManager.getStorageVolumes();
Log.i(TAG, "All Volumes = " + allvolumes.toString());

What is the expected behavior?
If you have a usb or sd card storage device inserted, storage manager would detect all of them and not just the internal storage volume.

I was on a previous dev build maybe 2 months ago (don't know the build) that the code worked, but does not work now.  The only thing that changed was an update to the chrome os dev build. 

I am using an asus C100P in dev mode.  I don't know how to roll back to  a previous dev mode to verify my code still worked.

What went wrong?
all storage volumes should be detected.  On the chrome os side of the chromebook, it does detect the SD card and USB storage devices using the built in file manager program.  When using an android app, the above code only returns the internal storage volume and nothing for an inserted sd card or usb storage device

Did this work before? Yes don't remember

Does this work in other browsers? N/A

Chrome version: 66.0.3359.10  Channel: dev
OS Version: 66.0.3359.10
Flash Version:
 

Comment 1 by jsb...@chromium.org, Mar 15 2018

Cc: hashimoto@chromium.org
Components: -Blink>Storage OS
Not Blink related... unsure what component this should up in.

hashimoto@ - can you route this appropriately?
Components: -OS Platform>ARC
Owner: risan@chromium.org
Status: Assigned (was: Unconfirmed)
What is the model name of your device?
You can see it by opening chrome://version in a chrome tab and looking at the "Platform" line.
It will look like:
  Platform: <version info> <channel info> <model name>

Comment 3 by opatr...@gmail.com, Mar 16 2018

the device model is an asus c100p

Platform: 10452.1.0 (official build) dev-channel veyron_minnie
Labels: M-66
Components: Platform>Apps>FileManager
Labels: CrOSFilesFeature-ARC
Labels: OS-Linux
Status: Verified (was: Assigned)
Yes, this was an intermittent glitch. Should work again now.

Sign in to add a comment