diff options
| author | 2017-08-07 19:56:23 +0000 | |
|---|---|---|
| committer | 2017-08-07 19:56:23 +0000 | |
| commit | 2130e26bca950f417e3ca53cf162475e9d7b1e1f (patch) | |
| tree | 88ba6f9cb664b804fabc723f6976e5e1a8a04af0 | |
| parent | 94fa7f219494924e7b59bee5a71659e2afb53c47 (diff) | |
| parent | a5538805d9024f6315ff5e902961ca1ae4f51bac (diff) | |
Merge "Use class retention for VisibleForTesting annotations" am: 5724841581 am: 94d5456d0e
am: a5538805d9
Change-Id: I83547deec96de1a26318c30d9ed01865d1be4254
| -rw-r--r-- | core/java/com/android/internal/annotations/VisibleForTesting.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/annotations/VisibleForTesting.java b/core/java/com/android/internal/annotations/VisibleForTesting.java index bc3121c74e5f..99512ac68d5d 100644 --- a/core/java/com/android/internal/annotations/VisibleForTesting.java +++ b/core/java/com/android/internal/annotations/VisibleForTesting.java @@ -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 |