commit | 7f2a74cf075913471ea797d87c1d219adce191f3 | [log] [tgz] |
---|---|---|
author | Betty Zhou <bettyzhou@google.com> | Wed Jul 19 10:12:02 2017 -0700 |
committer | Betty Zhou <bettyzhou@google.com> | Wed Jul 19 18:24:18 2017 +0000 |
tree | 24d8906719f1db2fd86954946c0d58d380b99681 | |
parent | a10aeb10fa377ab13d16c0fb7f5a18a7ba64b460 [diff] |
Delete event dispatchers before close sl4a session. Close sl4a session before delete event dispatchers will cause broken socket error as clear event dispatcher is replying on sl4a session. Capture socket BrokenPipeError in RPC method and add retry mechanism. Add wait for device before requesting bugreport. Replace print with logging in event_dispatcher.py. Test: run test locally Bug: 63783002 Change-Id: Icf00022b5cde8ad2b552199837c6512e39babaa8