diff options
| author | 2024-04-02 10:50:00 +0000 | |
|---|---|---|
| committer | 2024-04-02 14:49:50 +0000 | |
| commit | 209dcc143dc99424c458ec840f0fd0769869765e (patch) | |
| tree | 37aa448103fa4a8da0335d1cb9aa8cd47ca05a94 /libs/androidfw/StringPool.cpp | |
| parent | f719ebc93060b8f67b6294365818f46dbd0f0830 (diff) | |
Add bundle validations on request/response and state params.
This is the implementation for approach#2 in go/isolated-bundle-validation to ensure that bundle being passed to isolated process is essentially read-only.
AndroidFuture<T> does not support any raw Binder interfaces. For
instance, AndroidFuture<ICancellationCallback> would crash due to
java.lang.ClassCastException at run time. You must use IBinder
instead and manually create a stub object in the receiver side. Hence the generic usage of AndroidFuture across.
Bug: 326618319
Change-Id: Idb7aad4dca45d29683ae9b85532f790f3cf643ad
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions