1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 20:10:15 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities
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
..
appmanager Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
charts Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
devicesettings Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
AboutActivity.java Add commit id into About screen 2021-12-30 10:40:40 +01:00
AboutUserPreferencesActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
AbstractFragmentPagerAdapter.java Update license headers 2020-01-09 10:44:32 +01:00
AbstractGBActivity.java Add black background to Dark Theme 2021-07-06 21:04:27 +02:00
AbstractGBFragment.java Update license headers 2020-01-09 10:44:32 +01:00
AbstractGBFragmentActivity.java Update license headers 2020-01-09 10:44:32 +01:00
AbstractListActivity.java Make Sports Activities list use Activity List style 2020-10-17 14:55:12 +02:00
AbstractSettingsActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
ActivitySummariesActivity.java Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
ActivitySummariesChartFragment.java Add header-title to Activity detail 2021-03-08 09:59:14 +01:00
ActivitySummariesFilter.java Rework the Daily Widget: 2020-12-20 19:01:00 +01:00
ActivitySummariesGpsFragment.java flip and scale GPX canvas 2021-02-13 18:10:42 +01:00
ActivitySummaryDetail.java add GPX receiver via intent 2021-07-14 11:41:41 +02:00
AlarmDetails.java Fixed a bunch of warnings 2020-08-26 09:38:31 +02:00
AndroidPairingActivity.java Update license headers 2020-01-09 10:44:32 +01:00
AppBlacklistActivity.java Reworking notification management 2021-10-10 11:49:13 +02:00
AppCompatPreferenceActivity.java Migrate to androidx support libraries and bump compile SDK version 2019-01-26 16:00:56 +01:00
BatteryInfoActivity.java Use device alias on battery info activity 2022-07-24 22:10:10 +01:00
BatteryInfoChartFragment.java Add support for multiple batteries per device 2021-11-02 14:37:47 +01:00
CalBlacklistActivity.java Make calendar blacklist configurable per device 2022-07-05 19:58:21 +02:00
ConfigureAlarms.java Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
ConfigureReminders.java Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
ConfigureWorldClocks.java Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
ControlCenterv2.java Animate card movement on device list 2022-07-05 19:53:43 +02:00
DataManagementActivity.java AutoExporter changes for better operation and troubleshooting. 2022-03-06 13:03:59 +01:00
DebugActivity.java Add alert to Log Sharing if logging has not been enabled yet 2022-07-30 21:40:37 +02:00
DiscoveryActivity.java Allow Settings splitting into device, app and auth screens 2022-07-05 21:40:27 +02:00
DiscoveryPairingPreferenceActivity.java Discovery activity: set scanning sensitivity to level 2 2022-06-13 06:11:26 +02:00
ExternalPebbleJSActivity.java Fixed a bunch of misspellings and formatting 2020-08-26 14:37:40 +03:00
FindPhoneActivity.java Added ringtone preference setting. 2021-09-21 21:03:37 +02:00
FwAppInstallerActivity.java Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
GBActivity.java Update license headers 2020-01-09 10:44:32 +01:00
GpxReceiverActivity.java add GPX receiver via intent 2021-07-14 11:41:41 +02:00
HeartRateDialog.java add Heart icon (trigger heart measurement) to device action icons 2021-08-08 11:12:08 +02:00
HeartRateUtils.java Update license headers 2020-01-09 10:44:32 +01:00
InstallActivity.java Update license headers 2020-01-09 10:44:32 +01:00
NotificationFilterActivity.java Update license headers 2020-01-09 10:44:32 +01:00
NotificationManagementActivity.java Add support for incoming call notification delay 2022-07-05 20:34:11 +02:00
OpenFwAppInstallerActivity.java Add device menu item to get to the FW/App Installer via an explanation activity 2022-07-12 10:50:41 +02:00
ReminderDetails.java Mi Band 3: Add support for Reminders 2021-12-11 22:39:18 +01:00
SettingsActivity.java Correctly disable file logging if initialization fails 2022-08-06 00:34:47 +01:00
SleepAlarmWidgetConfigurationActivity.java Widget and SleepAlarmWidget: modify for multidevice support 2022-05-28 14:57:01 +02:00
VibrationActivity.java Update license headers 2020-01-09 10:44:32 +01:00
WidgetAlarmsActivity.java Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
WidgetConfigurationActivity.java Widget and SleepAlarmWidget: modify for multidevice support 2022-05-28 14:57:01 +02:00
WorldClockDetails.java Mi Band 5: Add support for World Clocks 2022-05-10 13:59:25 +02:00