mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 10:35: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);
|
||||
break;
|
||||
case CasioConstants.CATEGORY_SNS:
|
||||
sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
|
||||
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
|
||||
break;
|
||||
case CasioConstants.CATEGORY_INCOMING_CALL:
|
||||
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
|
||||
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
|
||||
break;
|
||||
case CasioConstants.CATEGORY_SCHEDULE_AND_ALARM:
|
||||
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
|
||||
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user