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

Commit fef76287 authored by Kunal Malhotra's avatar Kunal Malhotra
Browse files

Creating internal methods for FGS type logging

Test: manual testing on deivce
Bug: b/263304156
Change-Id: I79409ed0cd74f17e17b9823e74218f1b5ca565b7
parent 00a9833d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -18738,13 +18738,17 @@ public class ActivityManagerService extends IActivityManager.Stub
        @Override
        public void logFgsApiBegin(@ForegroundServiceApiType int apiType,
                int uid, int pid) {
            ActivityManagerService.this.logFgsApiBegin(apiType, uid, pid);
            synchronized (this) {
                mServices.logFgsApiBeginLocked(apiType, uid, pid);
            }
        }
        @Override
        public void logFgsApiEnd(@ForegroundServiceApiType int apiType,
                int uid, int pid) {
            ActivityManagerService.this.logFgsApiEnd(apiType, uid, pid);
            synchronized (this) {
                mServices.logFgsApiEndLocked(apiType, uid, pid);
            }
        }
        @Override