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

Commit 2113c1ed authored by Manjeet Rulhania's avatar Manjeet Rulhania Committed by Android Build Coastguard Worker
Browse files

Fix recently used packages query in app ops history

AppOpsService collects packages which have used runtime
ops recently, some of the rarely used packages are selected
for stacktrace collection during noteOp calls.

XML implementation used to read this information from
aggregated ops files. SQLite is adding an optimized
query to read recently used package names.

Use IO handler to prepare rarely used pacakges list
for stacktrace collection.

Bug: 446014831
Test: AppOpHistoryHelper
Test: HistoricalRegistryTest
Test: reboot the system and wait for AppOpsService to read packages
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:663f20b5aa4e6a166582c038c424a95c6d216fc4
Merged-In: Idc4b14bd096c813c8d9b574cea736f69a63c1f8a
Change-Id: Idc4b14bd096c813c8d9b574cea736f69a63c1f8a
parent 19e21f41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment