summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorFrank Li <lifr@google.com>2021-05-21 01:49:50 +0000
committerFrank Li <lifr@google.com>2021-06-17 13:44:17 +0000
commit2fcda2f9f41aecc439ebae7cf5c995ba1c5e4177 (patch)
treebbb1b8a17288da22cf67d1a8a0e63471c6664c89 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentd77459a21febfe67036f153aa2f32f8d6ad37325 (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 Original-Change: https://android-review.googlesource.com/1679762 Merged-In: I56cde50d2adab81134c8be4f6996d68018f4212a Change-Id: I56cde50d2adab81134c8be4f6996d68018f4212a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions