Update index for Android 14

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

View File

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