Fix HistoricalAppOps collection.

Pullers were moved to frameworks/base because of migration, thus they
call AppOpsService.getHistoricalOps() with SYSTEM_UID and PID.
In addition, for stack trace reporting we need to call
getHistoricalOps() from system process.

Test: atest UidAtomTests#testAppOps
Change-Id: I8ed66c0eb912f6af108e53287f030c871423948d
1 file changed