commit | 4c42e8dc9c227b90bd26779fad6a8bab2e8151c9 | [log] [tgz] |
---|---|---|
author | Vasu Nori <vnori@google.com> | Tue Oct 06 11:00:46 2015 -0700 |
committer | Vasu Nori <vnori@google.com> | Tue Oct 06 11:00:46 2015 -0700 |
tree | 3c8bbf84e03c4a2e1f207e11abc412fcc878548e | |
parent | 77f8f088a9f2ae422ff289fe4c57ecb3a258db3f [diff] |
In tests tearDown() method, ignore IllegalArgumentException from unregisterReceiver method. Sometimes the tests may have failed to register a receiver. In such cases, trying to unregister it later on in tearDown() is unnecessary and so ignore IllegalArgumentException from unregisterReceiver. Bug: 23778283 Change-Id: I08bc017d26fe11e69f78d863f988c13dd85b3cbe