diff options
| author | 2022-08-01 21:08:23 +0000 | |
|---|---|---|
| committer | 2022-08-23 12:03:46 +0000 | |
| commit | c51fd76dd5207823ac416696f6c28ad2b16a4517 (patch) | |
| tree | ccd7dedc10a127d2b7d3b380859fdd3b844d16f9 /libs/androidfw/ResourceTimer.cpp | |
| parent | 1d68d4fa33bdba2c9490fc05ad13270ed6c69f56 (diff) | |
Mark framework created intent as safe
Flag intent created by framework as LOCAL_FLAG_FROM_PROTECTED_COMPONENT by
calling intent.prepareToEnterProcess(true...). This is to fix false positives
of StrictMode.unsafeIntentLaunchViolation.
Bug: 181132616
Test: Manually verified a violation was not reported when a test app launched
Intents returned from TelecomManager.createManageBlockedNumbersIntent.
Methods marked as systemApi are not tested.
Change-Id: I7b00008dd894f1c637ab2f0a23e6cafb58bb73e5
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions