1. 17 Dec, 2017 1 commit
    • Xiaohui Chen's avatar
      Make VoiceInteractionControllerClient a singleton. · 0f40dd5e
      Xiaohui Chen authored
      Previously VoiceInteractionControllerClient has the same life cycle as
      ArcVoiceInteractionFrameworkService, which is only alive when primary
      profile running and has ARC++ enabled.  This life cycle isn't a good
      fit for VoiceInteractionControllerClient since it is used to update
      Ash states, which has a global life time.  It caused bugs like in multi-
      profile, and restricted profile, Ash UI wasn't properly rendered.
      
      BUG=b:68664196
      TEST=unit tests and locally build and manually test multi-profile
      
      Change-Id: I8495e2c41274db385741b86d778c96e15a25b977
      Reviewed-on: https://chromium-review.googlesource.com/827540
      Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
      Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524616}
      0f40dd5e
  2. 16 Dec, 2017 39 commits