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

Commit f6c22263 authored by Yuichiro Hanada's avatar Yuichiro Hanada
Browse files

Add missing GuardedBy annotation

StatsPullAtomService.readProcStatsHighWaterMark touches |mBaseDir|,
but it doens't have the GuardedBy annotation.
Adding it should be safe because the method is called only by
StatsPullAtomService.getStatsFromProcessStatsService() which already
has the annotation.

Bug: 278630339
Test: m
Change-Id: I748a20460e899785d15233344dcd3e10bb830879
parent 4c76d3ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3089,6 +3089,7 @@ public class StatsPullAtomService extends SystemService {
    }

    // read high watermark for section
    @GuardedBy("mProcStatsLock")
    private long readProcStatsHighWaterMark(int atomTag) {
        try {
            File[] files =