commit | 32cabd8d8567277d65cb1df6b3a6642152eb965e | [log] [tgz] |
---|---|---|
author | weijiaxu <weijiaxu@google.com> | Tue Feb 27 18:45:04 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Tue Feb 27 18:46:00 2018 -0800 |
tree | bfcd8ecd160392d19eb3d12bdc100a645e8a4ac3 | |
parent | 37434b495f1e53612d4279288f6fa3ac5e795615 [diff] |
set connection state after adding NonSimulatorConnectionListener and set connection to active at the end. This is necessary to make sure that NonSimulatorConnectionListener gets event callback when Connection.setDialing() or Connection.setActive() is called. Test: On a local device. PiperOrigin-RevId: 187266120 Change-Id: I6ee5d5113285e7a27a4e8497a95b28844ac6b397