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
Loading
Please register or sign in to comment