1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 17:27:24 +01:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices
Arjan Schrijver 557bfea35c Add lint baseline, enable linting on CI, fix some reported errors (#3291)
This PR:
- fixes some errors reported by `gradlew lint` and the Android Studio "Code Inspection" tool
- adds a snapshot file `lint-baseline.xml` of the remaining lint errors and warnings to be used by the linter as baseline
- adds a job for CI to run `gradlew lint` on every build

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3291
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2023-09-11 09:17:04 +00:00
..
amazfitbip update license headers 2021-01-10 23:38:13 +01:00
asteroidos Introduce WeatherSpec v4 2023-08-27 15:13:57 +00:00
banglejs Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
binary_sensor Add lint baseline, enable linting on CI, fix some reported errors (#3291) 2023-09-11 09:17:04 +00:00
casio Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
domyos Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
fitpro Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
flipper/zero Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
galaxy_buds Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
hplus Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
huami Add lint baseline, enable linting on CI, fix some reported errors (#3291) 2023-09-11 09:17:04 +00:00
id115 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
itag Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
jyou Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
lefun Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
lenovo Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
liveview Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
makibeshr3 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
miband Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
mijia_lywsd02 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
miscale2 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
no1f1 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
nothing Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
nut Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
pebble Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
pinetime use proper Optional 2023-08-26 19:39:05 +00:00
qc35 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
qhybrid Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
roidmi Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
smaq2oss Add lint baseline, enable linting on CI, fix some reported errors (#3291) 2023-09-11 09:17:04 +00:00
soflow Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
sony/headphones Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
sonyswr12 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
supercars Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
tlw64 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
um25 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
vesc Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
vibratissimo Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
vivomovehr Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
waspos Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
watch9 Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
withingssteelhr Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
xwatch Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
zetime Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
AbstractBLClassicDeviceCoordinator.java multi-device-support (#2526) 2022-06-14 18:05:41 +02:00
AbstractBLEDeviceCoordinator.java multi-device-support (#2526) 2022-06-14 18:05:41 +02:00
AbstractDeviceCoordinator.java Add lint baseline, enable linting on CI, fix some reported errors (#3291) 2023-09-11 09:17:04 +00:00
AbstractSampleProvider.java Add support for REM sleep 2022-10-02 16:07:21 +02:00
AbstractTimeSampleProvider.java Introduce generic TimeSamples for recorded data 2023-05-22 22:15:35 +00:00
DeviceCoordinator.java Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00
DeviceManager.java Based on Play Store crash reports and stack traces, add a null check to try and avoid crashes 2023-05-22 13:38:04 +01:00
EventHandler.java Zepp OS: Add loyalty cards integration with Catima 2023-07-03 23:19:19 +01:00
InstallHandler.java update license headers 2021-01-10 23:38:13 +01:00
SampleProvider.java Add Steps streaks screen 2022-07-30 10:07:26 +02:00
TimeSampleProvider.java Introduce generic TimeSamples for recorded data 2023-05-22 22:15:35 +00:00
UnknownDeviceCoordinator.java Core: replaced device initialization logic with class based decision 2023-08-26 08:14:06 +00:00