commit | 030eeeee6d1c1cdba4a85557f78ab1ee6571901c | [log] [tgz] |
---|---|---|
author | Salvador Martinez <dehboxturtle@google.com> | Wed Aug 24 15:11:21 2016 -0700 |
committer | Salvador Martinez <dehboxturtle@google.com> | Thu Aug 25 17:45:24 2016 +0000 |
tree | 52c1a6bb85d9093ee0fa0c1035beddbde66e0a7c | |
parent | a40300e753252d974aa8a262e24b0a9659967ca6 [diff] |
Added guard to logging in AsyncTask An async task was trying to get the context in an InstrumentedFragment. This could return null if the context disappears before the new thread gets to that line. Logging will now be aborted if context is null to avoid this. Test: Manual/Monkey Stability Test Bug: 31058928 Change-Id: Iae97d389e58a76b0f213a2749415501894ebf649 (cherry picked from commit 566b66e27c69fbf48860f367781800442c5110e7)