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

Skip to content
Commit 3f2b728b authored by Calin Juravle's avatar Calin Juravle
Browse files

Allow PackageDexUsage to record code paths not used by others

The restriction was just an optimization to make the processing simpler
and clearer. All packages are expected to use their code paths and
recording this info was redundant and added noise. However, in
prepartion to record system server code paths we have to record
everything that belongs to a package, even if it's not used by others.

This CL makes PackageDexUsage agnostic of the isUsedByOther flags: it
will record everything that is given to it.

Note that this applies only to PackageDexUsage. DexManager may still
decide to skip the recording (which it does for non system server apps)

Test: atest PackageDexUsageTests DexManagerTests
Bug: 148774920
Change-Id: Icdb9ff45330a8fb15d80cb07495723b473228dda
parent 33fc19ce
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