diff options
author | 2023-07-27 21:07:06 +0000 | |
---|---|---|
committer | 2024-01-09 19:04:03 +0000 | |
commit | 074084c44439edb39d572d6ff1e8ed3a845d534a (patch) | |
tree | 72c86cb191e1919c461000d9b1d362d009901ce1 /framework-s/java | |
parent | 4cb1f85cecd7c30b45bebf521e1d239a52ec4015 (diff) |
Create a new default wallet role entry.
Bug: 283989236
Bug: 291794775
Test: local testing
Change-Id: Ibd1b48e62b2702678434add5a007ca24d9fbf7d2
Diffstat (limited to 'framework-s/java')
-rw-r--r-- | framework-s/java/android/app/role/RoleManager.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/framework-s/java/android/app/role/RoleManager.java b/framework-s/java/android/app/role/RoleManager.java index 3cf1e94ba..fe27d50f3 100644 --- a/framework-s/java/android/app/role/RoleManager.java +++ b/framework-s/java/android/app/role/RoleManager.java @@ -146,6 +146,15 @@ public final class RoleManager { public static final String ROLE_NOTES = "android.app.role.NOTES"; /** + * The name of the Wallet role. + * + * @see android.nfc.cardemulation.CardEmulation + */ + @FlaggedApi(Flags.FLAG_WALLET_ROLE_ENABLED) + @RequiresApi(Build.VERSION_CODES.VANILLA_ICE_CREAM) + public static final String ROLE_WALLET = "android.app.role.WALLET"; + + /** * The name of the system wellbeing role. * * @hide |