mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 02:55:50 +01:00
Fixed alert logic
This commit is contained in:
parent
be9b83eebf
commit
264ab14847
@ -301,13 +301,13 @@ public class CasioGBX100DeviceSupport extends Casio2C2DSupport implements Shared
|
|||||||
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_OTHER, true);
|
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_OTHER, true);
|
||||||
break;
|
break;
|
||||||
case CasioConstants.CATEGORY_SNS:
|
case CasioConstants.CATEGORY_SNS:
|
||||||
sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
|
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
|
||||||
break;
|
break;
|
||||||
case CasioConstants.CATEGORY_INCOMING_CALL:
|
case CasioConstants.CATEGORY_INCOMING_CALL:
|
||||||
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
|
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
|
||||||
break;
|
break;
|
||||||
case CasioConstants.CATEGORY_SCHEDULE_AND_ALARM:
|
case CasioConstants.CATEGORY_SCHEDULE_AND_ALARM:
|
||||||
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
|
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user