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

Commit e93fecf9 authored by Joe Onorato's avatar Joe Onorato Committed by Android (Google) Code Review
Browse files

Merge "This assert is triggering when it shouldn't be. Disable it for now." into nyc-dev

parents 196a0572 08274740
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