arc: Handle ARC events in MD Settings
This provides handling ARC events. TURN ON button should be available in case ARC is disabled and unmanaged. Once ARC is enabled TURN ON button is hidden and APPS section is shown. APPS section shows link to ARC Settings app once Settings app appears in the system. While Settings app is not registered tehn link to ARC Settings is hidden. In case user click on ARC Settings link and Settings app is not ready yet (ARC is still booting) then Settings app is started in deferred mode (spinning animation on shelf). Disabling ARC hides APPS section and TURN ON button is active again. BUG=720173, b/37523579, b/29244888 TEST=Browser test extended, manually on device for managed/unmanaged cases. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2873853002 Cr-Commit-Position: refs/heads/master@{#471206}
Showing
Please register or sign in to comment