fix(android): KeyStore.load takes a LoadStoreParameter, not an Object

The one-argument overload is load(LoadStoreParameter). Declaring JObject made the bridge look for a method that does not exist - reported at runtime as 'method not found', with nothing at compile time. Same class of mistake as generateSecret earlier: the JNI signature is built from the declared types, so an approximate type is a silent break.
This commit is contained in:
r-zakarya
2026-08-15 00:56:22 +01:00
parent 60b806536a
commit 3cbfd54c26
2 changed files with 17 additions and 2 deletions
+3 -1
View File
@@ -290,8 +290,10 @@ begin
else
Log(' coffre enregistre - AUCUNE protection sur cet appareil');
except
// La classe compte autant que le message : "methode introuvable"
// designe une signature JNI fausse, pas un probleme de stockage.
on E: Exception do
Log(' cache non ecrit : ' + E.Message);
Log(' cache non ecrit : ' + E.ClassName + ' - ' + E.Message);
end;
Log(' ' + LSw.ElapsedMilliseconds.ToString + ' ms pour ' +
Length(LPlain).ToString + ' caracteres');