1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-08 23:45:38 +02:00

add logging

This commit is contained in:
vanous 2022-04-02 19:35:10 +02:00
parent 04a8d242c7
commit 38b9a8f80e

View File

@ -1233,7 +1233,8 @@ public class GBApplication extends Application {
int resIdNormal = getResources().getIdentifier(resString, "string", packageName);
if (resIdVariation == 0) {
//LOG.warn("Missing variation string: " + aString + "_" + variation);
// Since this class must not log to slf4j, we use plain android.util.Log
Log.i(TAG, "Missing variation string: " + resString + "_" + variation);
return getString(resIdNormal);
} else {
return getString(resIdVariation);