diff options
| author | 2021-04-19 10:44:41 +0800 | |
|---|---|---|
| committer | 2021-05-21 01:00:21 +0800 | |
| commit | 46c3c694d410e9e2a92879e8366369a96cb82ae6 (patch) | |
| tree | ca44e48f0aeee2e9e41176881bf9369886238237 /libs/androidfw/AttributeResolution.cpp | |
| parent | fa8d51d5a6765460b0014ce0719dca6e9f0b7680 (diff) | |
Improve the net-capabilities scheme for backward compatibility
- Create a new XML tag for the new format. The new format should
persist the arrays of values without assuming they necessarily
have different bits.
- Upon reading, if the new tag is present, use that. If the new
tag is not present but the old tag is present, then limit the
contents to the capabilities/transports that existed in R.
- Catch all exceptions and ignore the requests if they can't be
re-read from disk. This is a measure to avoid any mistake where
the device couldn't boot when JS tries to restore state.
Bug: 183071974
Test: atest JobStoreTest
Change-Id: I56cde50d2adab81134c8be4f6996d68018f4212a
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions