commit | a2c88760a7048d89f07e602dfbb5e15011d72cc5 | [log] [tgz] |
---|---|---|
author | Govinda Wasserman <gwasserman@google.com> | Wed May 08 08:02:47 2019 -0400 |
committer | Govinda Wasserman <gwasserman@google.com> | Thu May 16 20:44:03 2019 -0400 |
tree | 55d01e8154132639fa5e77dfa93173f22d9311fc | |
parent | 7e460b6ebf0f06526f00a9be70acf78fdeeeba0d [diff] |
Adds a PhoneStateMonitor to the AssistManager This allows the AssistManager to determine the state of the phone when the Assistant is invoked. This will be used for logging and allowing the Assistant to alter its behavior based on the invokation state. Note that SysUI is currently unable to differentiate between Launcher states, so all Launcher states will be reported as PHONE_STATE_HOME. Test: Tested locally BUG:128982146 Change-Id: Iee40e42830f5a07845240c98bec5b87bd7c08eb7