Loading src/com/android/settings/slices/SlicesDatabaseAccessor.java +2 −0 Original line number Diff line number Diff line Loading @@ -127,10 +127,12 @@ public class SlicesDatabaseAccessor { int numResults = resultCursor.getCount(); if (numResults == 0) { resultCursor.close(); throw new IllegalStateException("Invalid Slices key from path: " + path); } if (numResults > 1) { resultCursor.close(); throw new IllegalStateException( "Should not match more than 1 slice with path: " + path); } Loading Loading
src/com/android/settings/slices/SlicesDatabaseAccessor.java +2 −0 Original line number Diff line number Diff line Loading @@ -127,10 +127,12 @@ public class SlicesDatabaseAccessor { int numResults = resultCursor.getCount(); if (numResults == 0) { resultCursor.close(); throw new IllegalStateException("Invalid Slices key from path: " + path); } if (numResults > 1) { resultCursor.close(); throw new IllegalStateException( "Should not match more than 1 slice with path: " + path); } Loading