commit | e3c00c29c73665e5d8cda458869f09bfce38a7aa | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Wed Feb 19 17:04:06 2020 -0800 |
committer | Patrick Baumann <patb@google.com> | Fri Feb 21 16:08:08 2020 +0000 |
tree | b88bc45ab49c62370400c6883c98608fa2c8e174 | |
parent | da4585593fa357905133553d1b42c924b63124b4 [diff] |
Cache app enumeration per-package enabled state This change queries PlatformCompat for state on package add and when the state is changed (notified via listener) to avoid expensive transformation to ApplicationInfo and any performance impact PlatformCompat may itself have. Bug: 149768323 Test: atest PackageManagerPerfTests AppEnumerationTests Change-Id: I19d8d0918ca6d0563e86a0c84e07cb2c0202543f