mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-31 19:45:27 +02:00
Update Nordic DFU library to fix Pinetime firmware upgrade on Android 14
Since we raised `targetSdkVersion` to 34 in fad092b6f8
,
attempt to upgrade Pinetime firmware on Android 14+ causes Gadgetbridge
to die with "One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be
specified when a receiver isn't being registered exclusively for system
broadcasts" unhandled java.lang.SecurityException.
This was caused by the Nordic Semi DFU library not supporting A14 until
version 2.3.2 (see https://github.com/NordicSemiconductor/Android-DFU-Library/issues/412
and https://github.com/NordicSemiconductor/Android-DFU-Library/pull/413).
So, upgraded the library to the current release 2.5.0.
This commit is contained in:
parent
4da02fa851
commit
72e8028ad6
@ -227,7 +227,7 @@ dependencies {
|
||||
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
||||
implementation "com.google.code.gson:gson:2.11.0"
|
||||
|
||||
implementation "no.nordicsemi.android:dfu:1.12.0"
|
||||
implementation "no.nordicsemi.android:dfu:2.5.0"
|
||||
implementation "com.github.tony19:logback-android:3.0.0"
|
||||
implementation "org.slf4j:slf4j-api:2.0.16"
|
||||
implementation "com.github.PhilJay:MPAndroidChart:3.1.0"
|
||||
|
Loading…
Reference in New Issue
Block a user