`PackageManager` info objects under Ravenwood.
Many tests across the OS are already writing tests where they "mock" their own responses from `PackageManager`, primarily by filling in the "info" objects that it returns. Since these are simple data structures that primarily hold static data, let's opt-in under Ravenwood, so that other tests can construct for their own internal uses. Complex dynamic operations, such as loading drawables, remain opted-out. This change brings along relevant CTS, but ignores several tests that currently depend on a fully-running PackageManager service. To ensure we have solid coverage, new `testSimple` is added. Bug: 292141694 Test: atest CtsContentTestCasesRavenwood Change-Id: Ie9682184cb5250f649426947bcf353802918ce50
Loading
Please register or sign in to comment