diff options
author | Anton Hansson <hansson@google.com> | 2021-05-07 16:32:10 +0100 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2021-05-10 10:28:02 +0100 |
commit | 4e86dcad1206e7246cef805d6251c8e4ead7a4b7 (patch) | |
tree | 2c6803fcd2b16917c63156ad52c361eed666ccf9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c7f5e7d4397050430aef255b876e9c15a91ddb70 (diff) |
Inline two constants from CorePlatform
Inlining these constants allow the public api metalava run to depend on
ART's public API rather than the "internal" CorePlatform API, which
prevents picking up unintentional classes (such as annotations) from the
CorePlatform API in the public stubs.
Because these constants get inlined in the API/stubs, and the constants
have been finalized for many years, they can never change. Because they
cannot change, reusing the constant is of limited value. I've added
some comments to point readers to other places the constant is used.
Bug: 154796679
Test: m checkapi
Change-Id: I0b347a2964cfe5a1206145fdc56934727b890469
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions