mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
[Huawei] Add Rotate Cycle Info into dynamic service
This commit is contained in:
parent
3a22211392
commit
1392f24f4c
@ -457,8 +457,6 @@ public class HuaweiSupportProvider {
|
||||
SharedPreferences.Editor editor = sharedPrefs.edit();
|
||||
editor.putString(DeviceSettingsPreferenceConst.PREF_ACTIVATE_DISPLAY_ON_LIFT, "p_on");
|
||||
editor.apply();
|
||||
// initializeAlarms();
|
||||
setNavigateOnRotate();
|
||||
setTrusleep();
|
||||
}
|
||||
onSetTime();
|
||||
@ -628,6 +626,9 @@ public class HuaweiSupportProvider {
|
||||
if (getHuaweiCoordinator().supportsWearLocation(getDevice())) {
|
||||
setWearLocation();
|
||||
}
|
||||
if (getHuaweiCoordinator().supportsRotateToCycleInfo()) {
|
||||
setNavigateOnRotate();
|
||||
}
|
||||
if (getHuaweiCoordinator().supportsQueryDndLiftWristDisturbType()) {
|
||||
GetDndLiftWristTypeRequest getDndLiftWristTypeReq = new GetDndLiftWristTypeRequest(this);
|
||||
getDndLiftWristTypeReq.doPerform();
|
||||
|
Loading…
Reference in New Issue
Block a user