Read side volume button position from commandline.
For boards that don't support unibuild, the side volume button location info is written into the local file /usr/share/chromeos-assets/side-volume-button/location.json. For boards that support unibuild now, the side volume button location info is in the chrome flag "ash-side-volume-button-position". This cl goes to read the location info from the flag. After all the boards support unibuild in the future, the logic that read the location info from local file can be removed. Bug: 937907 Change-Id: I2138e3b0c32528767cec1efc746c8cdaa56775d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638741 Commit-Queue: Min Chen <minch@chromium.org> Reviewed-by:Dan Erat <derat@chromium.org> Cr-Commit-Position: refs/heads/master@{#665317}
Showing
Please register or sign in to comment