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

Commit d1db8f8c authored by Rhed Jao's avatar Rhed Jao
Browse files

Fix missing the implementation of Computer#dump() in ComputerLocked

It's necessary to implement the Computer#dump() in ComputerLocked
to ensure a lock is held when the snapshot feature is disabled.

Bug: 186505771
Test: adb bugreport
Change-Id: I9d3d371320c8e9a550a93177045a5f0ccbb32ffe
parent 01f110bf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4893,6 +4893,11 @@ public class PackageManagerService extends IPackageManager.Stub
                return super.filterAppAccess(packageName, callingUid, userId);
            }
        }
        public void dump(int type, FileDescriptor fd, PrintWriter pw, DumpState dumpState) {
            synchronized (mLock) {
                super.dump(type, fd, pw, dumpState);
            }
        }
    }