Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ebb0e6a authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am d867b7c7: Fix issue #17783882: AUPT: NPE in Videos: Attempt to invoke virtual method...

* commit 'd867b7c7':
  Fix issue #17783882: AUPT: NPE in Videos: Attempt to invoke virtual method...
parents 677dd506 d867b7c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1725,7 +1725,7 @@ public final class StrictMode {
        for (int i = 0; i < numViolations; ++i) {
            if (LOG_V) Log.d(TAG, "strict mode violation stacks read from binder call.  i=" + i);
            ViolationInfo info = new ViolationInfo(p, !currentlyGathering);
            if (info.crashInfo.stackTrace.length() > 10000) {
            if (info.crashInfo.stackTrace != null && info.crashInfo.stackTrace.length() > 10000) {
                // 10000 characters is way too large for this to be any sane kind of
                // strict mode collection of stacks.  We've had a problem where we leave
                // strict mode violations associated with the thread, and it keeps tacking