Commit 1fa8075a authored by Joel Hockey's avatar Joel Hockey Committed by Commit Bot

FilesApp add android and linux as native volume types

This makes them available in the save-as dialog.

Bug: 845088
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I37dbb73a8de6a115e70a3bc8549b0e4351086bb6
Reviewed-on: https://chromium-review.googlesource.com/1098421Reviewed-by: default avatarNaoki Fukino <fukino@chromium.org>
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566719}
parent 9edb615f
......@@ -245,6 +245,8 @@ VolumeManagerCommon.Source = {
*/
VolumeManagerCommon.VolumeType.isNative = function(type) {
return type === VolumeManagerCommon.VolumeType.DOWNLOADS ||
type === VolumeManagerCommon.VolumeType.ANDROID_FILES ||
type === VolumeManagerCommon.VolumeType.CROSTINI ||
type === VolumeManagerCommon.VolumeType.REMOVABLE ||
type === VolumeManagerCommon.VolumeType.ARCHIVE;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment