1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-24 05:50:47 +02:00
Gadgetbridge/app/src/main/java
José Rebelo efdc4c434a Correctly disable file logging if initialization fails
If logging initialization failed, the file logger would not be removed
correctly, and it would log to a GB_LOGFILES_DIR_IS_UNDEFINED directory.

Remove the file logger from the root appender, regardless of it being
null or not.

The issue can be easily reproduced before the fix by throwing an
exception in FileUtils#getExternalFilesDir. Before the fix, it would
still log to the aforementioned directory.

Aditionally, update the Settings screen to reflect that writing log
files is not available in such cases.
2022-08-06 00:34:47 +01:00
..
com/mobeta/android/dslv Experiment with a draggable sort list. 2020-11-07 22:48:34 +01:00
lineageos add stripped down version of weather part of lineage sdk 2019-08-22 21:19:03 +02:00
nodomain/freeyourgadget/gadgetbridge Correctly disable file logging if initialization fails 2022-08-06 00:34:47 +01:00
ru/gelin/android/weather/notification ensure minimal forecastConditionType lenght for weather notifications 2020-12-28 22:04:05 +01:00