cros: Hide space info in Files app during demo session
The space info button in the Files app redirects to the “Storage
management” section in Settings, which has already been hidden in Demo
Mode. So it makes sense to hide this button as well.
In Demo Mode (a public session), the cryptohome runs in RAM. As a
result, the Files app only considers available RAM when showing free
disk space. Therefore, customers in stores might think the device only
has 4 GB of disk space.
We should hide the disk space stat until there's a better solution,
e.g. show an explanatory message ("disk space is limited in Demo Mode"
or something).
Bug: 868747
Change-Id: I8b138bbf0b864acaf38a51659cccf7ad3d198c16
Reviewed-on: https://chromium-review.googlesource.com/1198882Reviewed-by:
Naoki Fukino <fukino@chromium.org>
Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587942}
Showing
Please register or sign in to comment