Skip to content
Commit fdb7c57d authored by Ryan Mitchell's avatar Ryan Mitchell
Browse files

Do not throw new incremental not found exceptions

For incremental hardening, our primary focus is to ensure the system
does not crash. Rather than throw new exceptions when querying from
incrementally installed packages we should return null values and not
subvert API expectations by throwing exceptions in places that
normally cannot fail.

This may cause UI issues when an app loads the resources of a
different, incrementally installed package. We can introduce new APIs
to allow system apps to determine when a package not being fully
present would cause issues on a case-by-case basis.

We will be able to tell from logcat and bugreports where the failed
read occurred in the resources.arsc.

Bug: 169167078
Test: builds
Change-Id: Idfd9ad11b64fc9e8dce9d0fa7ab9b6e4f6083d41
parent 2d880ae9
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