summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-01-15 00:12:34 +0900
committerJiyong Park <jiyong@google.com>2020-01-16 19:11:16 +0900
commit40ec862c13a9d087dee03db0f490d4f463cc7ac6 (patch)
treecc72a202a6b044c80ee81d043b69da2619218015 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent73cab34d9f49013f4ede893aa00802b937d0d5a9 (diff)
SystemApi is @Repeatable
This allows us to annotate a class as below: /** @hide */ @SystemApi @SystemApi(client=MODULE_APPS) public class SomeClass { /** @hide */ @SystemApi public void foo() {...} /** @hide */ @SystemApi(client=MODULE_APPS) public void bar() {...} } SomeClass is already annotated as @SystemApi. And we want to make bar() method in it as SystemApi(MODULE_APPS). To do so, the containing class SomeClass has additionally to be annotated as SystemApi(MODULE_APPS), resulting SystemApi annotation to be repeated. Bug: N/A Test: add @SystemApi(client=MODULE_APPS) to an hidden method of an existing SystemApi class (e.g. SystemProperties.set()) and execute `m updata-api`. -> api/module-app-current.txt is updated while api/system-current.txt is unchanged Change-Id: Ifd4d32a6983cfc38f0dd13618652439f6162e0d3
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions