File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
firebase-abt/src/main/java/com/google/firebase/abt Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 20
20
21
21
import android .content .Context ;
22
22
import androidx .annotation .Nullable ;
23
- import androidx .annotation .StringDef ;
24
23
import androidx .annotation .VisibleForTesting ;
25
24
import androidx .annotation .WorkerThread ;
26
25
import com .google .firebase .analytics .connector .AnalyticsConnector ;
27
26
import com .google .firebase .analytics .connector .AnalyticsConnector .ConditionalUserProperty ;
28
- import java .lang .annotation .Retention ;
29
- import java .lang .annotation .RetentionPolicy ;
30
27
import java .util .ArrayDeque ;
31
28
import java .util .ArrayList ;
32
29
import java .util .Collection ;
@@ -67,8 +64,9 @@ public class FirebaseABTesting {
67
64
* Select keys of fields in the experiment descriptions returned from the Firebase Remote Config
68
65
* server.
69
66
*/
70
- @ StringDef ({REMOTE_CONFIG , INAPP_MESSAGING })
71
- @ Retention (RetentionPolicy .SOURCE )
67
+ // fully qualified use of annotations here due to https://bugs.openjdk.java.net/browse/JDK-8185328
68
+ @ androidx .annotation .StringDef ({REMOTE_CONFIG , INAPP_MESSAGING })
69
+ @ java .lang .annotation .Retention (java .lang .annotation .RetentionPolicy .SOURCE )
72
70
public @interface OriginService {
73
71
74
72
/** Must match the origin code in Google Analytics for Firebase. */
You can’t perform that action at this time.
0 commit comments