commit | fcd9bdc84c04a135f95ec1ce180d94655be4bfff | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Mon Mar 04 12:20:27 2019 -0800 |
committer | Brad Ebinger <breadley@google.com> | Tue Mar 05 09:44:46 2019 -0800 |
tree | 3a42c37872aeac33b48a3a96a33f42c61ed60a96 | |
parent | d2c788c1d8e7838c016bcde85a66191e14b61e02 [diff] |
Fix ImsManager NPE encountered during GTS testing ImsManager was throwing a NPE because multiple requests to get ImsService look to be getting scheduled in a race condition where we are internally scheduling a retry and the binder thread is scheduling a retry. Fix synchronization in retry block and check for null ImsManager just in case. Test: atest GtsTelephonyTestCases Change-Id: I5e4b5bf656642c1d26a88fe77726c44f2cfe8607