1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 11:33:19 +02:00
Gadgetbridge/app/src/main
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
..
aidl add stripped down version of weather part of lineage sdk 2019-08-22 21:19:03 +02:00
assets Fossil Hybrid HR: Add toggling of backlight with physical button event 2022-08-01 17:21:55 +02:00
c Mi Band 6 auth: add test, fix crypto 2021-08-26 10:59:53 +02:00
java Correctly disable file logging if initialization fails 2022-08-06 00:34:47 +01:00
proto Added support for SMA Q2 (#2215) 2021-07-20 12:08:12 +02:00
res Correctly disable file logging if initialization fails 2022-08-06 00:34:47 +01:00
AndroidManifest.xml Fossil Hybrid HR: Use preferencescreen for widget configuration 2022-07-25 14:34:41 +02:00
lint.xml
project.properties