summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Hao Ke <haok@google.com> 2021-11-05 19:48:58 +0000
committer Hao Ke <haok@google.com> 2021-11-10 15:45:12 +0000
commit446144c9a8cb5b7c167e95420a7d2ad9741d72c0 (patch)
tree05a82832f3af4db7a029f671e167b26407aed726 /services/coverage/java
parenta1e47b652b5d203a3cdfa410e6d63f262c29ce02 (diff)
Adding typed Parcel readMap and readHashMap APIs.
Added typed read API of `readMap` and `readHashMap`, that takes extra clazz parameters check that the class written on the wire is the same or a descendant from the one provided as the key and value arguments. Doing so could enhance the security of Parcel deserialization, as it would prevent unexpected types of objects being deserialized. More details can be found at go/safer-parcel. Test: atest -d android.os.cts.ParcelTest Bug: 195622897 Change-Id: Ife9d1d7277b6345a6e11856179c301339b2dc087
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions