Add index for Android 14

This commit is contained in:
hyugogirubato 2024-04-01 21:45:33 +02:00 committed by GitHub
parent 39ba4e8f70
commit 782b105182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ const prepareKeyRequest = (address) => {
index = 5;
} else if ([24, 25, 26, 27, 28, 29, 30].includes(SDK_API)) {
index = 4;
} else if ([34].includes(SDK_API)) {
index = 5;
} else {
index = 5; // Default index assignment
print(Level.WARNING, 'SDK API not implemented');