mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 11:17:33 +01:00
Removed supportsActivityDataFetching check in FETCH_RECORDED_DATA handler. This
fixes a regression for Bangle.js where 'Debug -> Fetch Debug Logs' wasn't working because it didn't support activity data fetching. see https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2526#issuecomment-648446
This commit is contained in:
parent
5e040a6dd5
commit
c425cff759
@ -762,9 +762,6 @@ public class DeviceCommunicationService extends Service implements SharedPrefere
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ACTION_FETCH_RECORDED_DATA: {
|
case ACTION_FETCH_RECORDED_DATA: {
|
||||||
if(!getDeviceCoordinator(device).supportsActivityDataFetching()){
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
int dataTypes = intent.getIntExtra(EXTRA_RECORDED_DATA_TYPES, 0);
|
int dataTypes = intent.getIntExtra(EXTRA_RECORDED_DATA_TYPES, 0);
|
||||||
deviceSupport.onFetchRecordedData(dataTypes);
|
deviceSupport.onFetchRecordedData(dataTypes);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user