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:
+3
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user