diff options
| author | 2022-07-28 10:33:21 -0700 | |
|---|---|---|
| committer | 2022-08-02 20:37:50 +0000 | |
| commit | 0b3ad39abf059b3e6e3088ab9d3ac6c43c29a2d5 (patch) | |
| tree | 9ad552c58cb411df0b717ccef967f29531f650c6 /libs/androidfw/StringPool.cpp | |
| parent | 2bbb7a41380766db7920b4be0dbc0b98fb7a0036 (diff) | |
Strip transition information from activityoptions once it is read.
The implementation of shared-element transitions takes the
ActivityOptions from the calling activity and sends them to
another activity. This means that any sensitive information
passed into ActivityManager via ActivityOptions can make its
way to an unrelated app. Recently a RemoteTransition object
was added which includes some sensitive information.
This CL strips the sensitive information from the activity
options after it is extracted so that it can't be sent
to the target.
Bug: 237290578
Test: atest ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions
Change-Id: Ic9f8062e67ab895292af75e97a9ce2f4aa45d467
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions