summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-05-07 13:49:34 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-05-07 13:49:34 +0000
commitc913a319ef8aca68d0d58cefb95a158b2c816fe2 (patch)
treec726c3759aa70dfdf4e437692f1811e1efefca15
parent5f20f587aed8823276a678037f50fd23ea0118b8 (diff)
parent28db32fec3bfefa6a5a61a8b515dbd2b7d5b07ab (diff)
Merge "Add POLLING_LOOP_TYPE_UNKNOWN to PollingFrameType" into main
-rw-r--r--nfc/java/android/nfc/cardemulation/PollingFrame.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/nfc/java/android/nfc/cardemulation/PollingFrame.java b/nfc/java/android/nfc/cardemulation/PollingFrame.java
index b52faba79ed7..4c76fb02f7d8 100644
--- a/nfc/java/android/nfc/cardemulation/PollingFrame.java
+++ b/nfc/java/android/nfc/cardemulation/PollingFrame.java
@@ -44,8 +44,15 @@ public final class PollingFrame implements Parcelable{
/**
* @hide
*/
- @IntDef(prefix = { "POLLING_LOOP_TYPE_"}, value = { POLLING_LOOP_TYPE_A, POLLING_LOOP_TYPE_B,
- POLLING_LOOP_TYPE_F, POLLING_LOOP_TYPE_OFF, POLLING_LOOP_TYPE_ON })
+ @IntDef(prefix = { "POLLING_LOOP_TYPE_"},
+ value = {
+ POLLING_LOOP_TYPE_A,
+ POLLING_LOOP_TYPE_B,
+ POLLING_LOOP_TYPE_F,
+ POLLING_LOOP_TYPE_OFF,
+ POLLING_LOOP_TYPE_ON,
+ POLLING_LOOP_TYPE_UNKNOWN
+ })
@Retention(RetentionPolicy.SOURCE)
@FlaggedApi(android.nfc.Flags.FLAG_NFC_READ_POLLING_LOOP)
public @interface PollingFrameType {}