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

Commit 79dc57f0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix off-by-one error in historical app ops."

parents 1ca41c72 d829b16b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2323,7 +2323,7 @@ public class AppOpsManager {
         */
        private static long sum(@NonNull long[] counts, int start, int end) {
            long totalCount = 0;
            for (int i = start; i <= end; i++) {
            for (int i = start; i < end; i++) {
                totalCount += counts[i];
            }
            return totalCount;