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

Commit 08274740 authored by Joe Onorato's avatar Joe Onorato
Browse files

This assert is triggering when it shouldn't be. Disable it for now.

The check for sequence numbers is triggering when ProcessStats
is accessed after being read from a parcel.  Turn off the check
for now.

Bug: 27045736
Bug: 27960286
Bug: 28039193
Bug: 28021719
Bug: 27960286
Change-Id: I7438441135fd1e9ce01350034262451309165525
parent 2155ad82
Loading
Loading
Loading
Loading
+27 −21
Original line number Diff line number Diff line
@@ -372,7 +372,12 @@ public class SparseMappingTable {
         * Throw an exception if one of a variety of internal consistency checks fails.
         */
        private void assertConsistency() {
            // Assert that our sequewnce number has been initialized. If it hasn't
            // Something with this checking isn't working and is triggering
            // more problems than it's helping to debug.
            //   Original bug: b/27045736
            //   New bug: b/27960286
            if (false) {
                // Assert that our sequence number has been initialized. If it hasn't
                // that means someone tried to read or write data without allocating it
                // since we were created or reset.
                if (mSequence == UNINITIALIZED_SEQUENCE) {
@@ -398,6 +403,7 @@ public class SparseMappingTable {
                    }
                }
            }
        }

        /**
         * Finds the 'id' inside the array of length size (physical size of the array