OSDN Git Service

Remove @SystemApi annotation from private or package-private members
authorJiyong Park <jiyong@google.com>
Wed, 3 Jan 2018 00:50:28 +0000 (09:50 +0900)
committerJiyong Park <jiyong@google.com>
Wed, 3 Jan 2018 01:03:38 +0000 (10:03 +0900)
commit8505e098bd92a100492b59b1f6752e0635b32351
tree307a88e28f91f54421e71002e6617a428898b3d7
parentea713a3882d11675ca067ad63ab01a664d012f3b
Remove @SystemApi annotation from private or package-private members

Some private or package-private members have been marked as @SystemApi,
which do not make sense as they aren't accessible to apps due to the
access modifier. Having annotation on such members hasn't been harmful,
but will soon trigger CTS failures when we do the exact match for
SystemAPIs; a runtime entity annotated as @SystemApi have to exist in
the documented API (e.g. system-current.txt). So, removing the bogus
annotations.

Bug: 67891551
Test: m -j does not require m update-system-api
Change-Id: I0083475ef5435cf9a582c2ce1be469c92328fe69
core/java/android/app/backup/BackupManager.java
core/java/android/hardware/hdmi/HdmiTimerRecordSources.java
core/java/android/view/WindowManagerPolicyConstants.java