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

Skip to content
Commit 013400fa authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

`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
parent 7812cce9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment