mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Always name things positively. Negating things is bad for comprehension :-)
This commit is contained in:
parent
5a3990b9d2
commit
52f3ca5253
@ -142,7 +142,7 @@ public abstract class AbstractBTLEDeviceSupport extends AbstractDeviceSupport im
|
||||
return;
|
||||
}
|
||||
Set<UUID> supportedServices = getSupportedServices();
|
||||
mAvailableCharacteristics = new HashMap();
|
||||
mAvailableCharacteristics = new HashMap<>();
|
||||
for (BluetoothGattService service : discoveredGattServices) {
|
||||
if (supportedServices.contains(service.getUuid())) {
|
||||
List<BluetoothGattCharacteristic> characteristics = service.getCharacteristics();
|
||||
|
@ -195,8 +195,9 @@
|
||||
<string name="chart_steps">Steps</string>
|
||||
<string name="liveactivity_live_activity">Live Activity</string>
|
||||
<string name="weeksteps_today_steps_description">Steps today, target: %1$s</string>
|
||||
<string name="pref_title_dont_ack_transfer">Do not ack activity data transfer</string>
|
||||
<string name="pref_summary_dont_ack_transfers">If the activity data are not acked to the band, they will not be cleared. Useful if GB is used together with other apps.</string>
|
||||
<string name="pref_summary_keep_data_on_device">Will keep activity data on the Mi Band even after synchronization. Useful if GB is used together with other apps.</string>
|
||||
<string name="pref_title_dont_ack_transfer">Do not ack activity data transfer</string>
|
||||
<string name="live_activity_steps_history">Steps History</string>
|
||||
<string name="live_activity_current_steps_per_minute">Current steps/min</string>
|
||||
<string name="live_activity_total_steps">Total Steps</string>
|
||||
@ -208,4 +209,5 @@
|
||||
<string name="abstract_chart_fragment_kind_not_worn">Not Worn</string>
|
||||
<string name="device_not_connected">Not connected.</string>
|
||||
<string name="user_feedback_all_alarms_disabled">All alarms disabled</string>
|
||||
<string name="pref_title_keep_data_on_device">Keep activity data on device</string>
|
||||
</resources>
|
||||
|
@ -166,8 +166,8 @@
|
||||
android:title="@string/pref_title_development_miaddr" />
|
||||
<CheckBoxPreference
|
||||
android:key="mi_dont_ack_transfer"
|
||||
android:title="@string/pref_title_dont_ack_transfer"
|
||||
android:summary="@string/pref_summary_dont_ack_transfers"
|
||||
android:title="@string/pref_title_keep_data_on_device"
|
||||
android:summary="@string/pref_summary_keep_data_on_device"
|
||||
android:defaultValue="false" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
Loading…
Reference in New Issue
Block a user