diff options
author | David Brazdil <dbrazdil@google.com> | 2018-12-14 16:25:33 +0000 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2019-01-21 10:22:27 +0000 |
commit | e7681823f8259c8c04ce0c361746216606784e69 (patch) | |
tree | 8bd248fc6be126d7d4e55bb4072ed24b2851ebbd /test/ProfileTestMultiDex | |
parent | 90faceb71e25748172ba6369209f8a2a66735394 (diff) |
hiddenapi: Print warnings for @CorePlatformApi violations
When accessing a method/field at runtime, determine the context of both
the caller and the callee, and add new logic for the case
"platform -> core-platform" which used to be always allowed.
If the callee is marked with kAccCorePlatformApi, access is allowed.
If not, a warning is printed into logcat.
Bug: 119068555
Test: 674-hiddenapi
Change-Id: I64839596bf6eb06d7a169fd59b18fd82c140ce6e
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions