Merge "Use class retention for VisibleForTesting annotations"

am: 5724841581

Change-Id: Iaa9262ad627b49d58b46760d7aecd3a985c3a79a
This commit is contained in:
Colin Cross
2017-08-07 19:32:21 +00:00
committed by android-build-merger

View File

@@ -27,7 +27,7 @@ import java.lang.annotation.RetentionPolicy;
* visibility should have been if it had not been made public or package-private for testing.
* The default is to consider the element private.
*/
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface VisibleForTesting {
/**
* Intended visibility if the element had not been made public or package-private for