commit | b58595b767ca2364cf2189046fc6c40267ef03e5 | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Thu Apr 30 13:19:36 2020 -0700 |
committer | Winson <chiuwinson@google.com> | Fri May 01 10:49:15 2020 -0700 |
tree | 4581c7e6f810141258935b52d38c144fb3e5fc0e | |
parent | 094e5ddbd37640d7840bedabf64cbc0126835262 [diff] |
Add skip functionality to package parsing There are specific cases where a package should be ignored by whoever is parsing it, either because the device was configured to ignore it, or the device doesn't support it. While mostly used for testing, this adds a skip method to ParseInput and a matching install error code to explicitly express this case during parsing. Bug: 155420149 Test: atest com.android.server.pm.parsing Change-Id: I7eff53544341e21108d9d027f3afe75a1e845f40