arcvm: Get the board name from the generated prop file instead
On some boards like nami, CrOS rootfs' build.prop doesn't have the complete ro.product.board entry. It's sometimes a template. To always get the board name on all boards, ArcDefaultAppList needs to wait for ArcSessionManager to generate the board's own build.prop file in its stateful partition. This is the same as what arc-setup does today. This CL also stops special casing ARCVM and does the same for ARC too. Also, when calling GetBoardName(), this CL uses MayBlock() to make it debug build compatible. BUG=b:144199481 TEST=try, ARCVM still starts Change-Id: Ie878d9ffff98ecf3b9dccb837fd6dce1a382a4be Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026668 Commit-Queue: Yusuke Sato <yusukes@chromium.org> Reviewed-by:Yury Khmel <khmel@chromium.org> Cr-Commit-Position: refs/heads/master@{#739250}
Showing
Please register or sign in to comment