Android: make System.load() error logs use Log.e() instead of Log.i()

Make the logs visible as errors as they should be.

Task-number: QTBUG-115016
Change-Id: Idfaddbc3bdd3b218ae961b1a5cce9540a4710c39
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Assam Boudjelthia 2023-11-02 11:23:16 +02:00
parent e38eef345e
commit bc8f0911a9

View File

@ -421,10 +421,10 @@ public abstract class QtLoader {
System.load(library);
loadedLib = library;
} else {
Log.i(QtTAG, "Can't find '" + library + "'");
Log.e(QtTAG, "Can't find '" + library + "'");
}
} catch (Exception e) {
Log.i(QtTAG, "Can't load '" + library + "'", e);
Log.e(QtTAG, "Can't load '" + library + "'", e);
}
return loadedLib;