From b8b5b9009dded47a253ea0bac5674e3fee3ed3ba Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 28 Oct 2024 17:14:54 +0100 Subject: [PATCH] fix: support for daylight saving other than one hour --- app/release/baselineProfiles/0/app-release.dm | Bin 0 -> 6351 bytes app/release/baselineProfiles/1/app-release.dm | Bin 0 -> 6283 bytes .../java/com/bnyro/clock/util/AlarmHelper.kt | 5 ++--- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 app/release/baselineProfiles/0/app-release.dm create mode 100644 app/release/baselineProfiles/1/app-release.dm diff --git a/app/release/baselineProfiles/0/app-release.dm b/app/release/baselineProfiles/0/app-release.dm new file mode 100644 index 0000000000000000000000000000000000000000..2d1a098b0e313fd27d0b258e55b5f92768f67f09 GIT binary patch literal 6351 zcmZ`;XD}RW*H#iFY9i5>h!7$Oq6JH|jk+PCmncE7`mVN1B1&|L9%V%h(aW;BB$m~C zuUWk%7z?zjlX&ii(QlvyZ+p$-jc;FL(2J z2eI<-6?XG*wIkKOTe8)qv|&$ph!wr_oWNM{XtHONI7IOCy_LeS}&pupGH zZixgfsNQPyW4t!sRs~+bHi#_Dg7)3h)y1@bx}dOM?(@#-T zFOIyHX;9CKOIM3JcqVkUFgM_wADbmXqKzVK(jPHeG&&QjjLrJ5A@&&BvO3PBAH1h5 ztg;#Q(<^-weRDzhw?f-FJRwSV^=(Q{Ec1WZv25oiUN;?H{xKkW-Jqsq(<|NXw~8pD z&0_reJWVlmI@eEqUv-~fa&x}^=etiyS2O3#%C35ppYD6NR{d;R^K{GFQSuYtHlIMU zf_8pzF!9CPs1$6`M)g^g=B5vW{|Ll)hJytHsg>@9-sWA@%Q+F4V-?n!stcMF$sQha zJT6_hjAgAR-0a_A=6AN_>b{y(hxZ}L3LvLf%k0HX$BJGTXJ~oeW=*eT?ea3K7@iyc zKJzc6dohQU{qJuBeMq;>sNKv)eSr;r#pM9afH%%h#=0gJ?wF(p``Er5*iQ+67?+gG z9VfXUfzaZ*!5Yc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(Q!zo=hlU&O;;Nu_B-Elf&R1(i zKIPZ{X$$Ke_$)`aZFt+f$1G~pys>`dm)7!O%uM;Uv(eq*ow!d==AawA#TWVkKKPX) zvkKnD(s^^IbGv%lxLmaQ6jKvsA~XGm&JprR>KLYCQHNil0`G4^dOUsLN3ho(dvt3k zenL8}bW2;%ZaVGUnX=wNDfc9Mpx1G+6GOw9^D&A@nK3lko128=WCTlZi!^l-*MX^m z4u-@!qP|gU{!YD{=gJ^?WtG`>?1rzJk@qc@wawVAO}jU32g!ASaU#S&x2T3O_Hl<~ z2#JX?3e9#nDe#s?fBll2J@sjWwi?y-w$eKnwDe?TH~zNv|JO&Q`9D6Y3%L(PD9H`( zLM9*}L`F{5^4Dm!qxk2f_8V$w&C1*c&Q{9b9l5JekfHmYGb{MEoU&=d;ml**K?7OS z`adJ-BlA-h!@gCZohfse=<+*5ABf#iKNgcJ^E`XLyv?u}Ki)rjkRC*(fTq_;c&<9} z%>HxE#_d7BMkPYGiq_{9`Mpm6j@5>TGyI;^J*NN+ zDU~R(=x{0LZf1()aa`m@e~pitDxJ0I6XcxcX%KVA?ahXY;HH$FNg(S6=K?UfNznpEtdj&N3lksa*D{-4A>4z- zP9xk)r;2LdM~lPE)gx;j7Y+|bLAt(4ufakHPd;QJUy~}1CrY6RJF~z&zd4id(xLu_ z{*!;Ocw{OKe;v=sC;~yz|MLyHwS;uwQ)%!rRGJiiIF=%LW!)l(#XUc~nv@B~G(_ zblZin0283_`m}$t2y?-U$U7t| z>>q~cf4XfcnsG$_Q{3OyRwJjlNA|x7z<)LUF9G;}@!ve)|4#n**MFM-Unu|GkN-}( UXscbl_V1eFZz2AX`~Qyr0hT3>#sB~S literal 0 HcmV?d00001 diff --git a/app/src/main/java/com/bnyro/clock/util/AlarmHelper.kt b/app/src/main/java/com/bnyro/clock/util/AlarmHelper.kt index a8b980c7..42dea581 100644 --- a/app/src/main/java/com/bnyro/clock/util/AlarmHelper.kt +++ b/app/src/main/java/com/bnyro/clock/util/AlarmHelper.kt @@ -17,7 +17,6 @@ import java.util.GregorianCalendar object AlarmHelper { const val EXTRA_ID = "alarm_id" - private const val HOUR_IN_MILLIS = 60 * 60 * 1000 @SuppressLint("ScheduleExactAlarm") fun enqueue(context: Context, alarm: Alarm) { @@ -91,9 +90,9 @@ object AlarmHelper { if (calendar.timeZone.useDaylightTime()) { if (calendar.timeZone.inDaylightTime(now) && !calendar.timeZone.inDaylightTime(calendar.time)) { - calendar.timeInMillis += HOUR_IN_MILLIS + calendar.timeInMillis += calendar.timeZone.dstSavings } else if (!calendar.timeZone.inDaylightTime(now) && calendar.timeZone.inDaylightTime(calendar.time)) { - calendar.timeInMillis -= HOUR_IN_MILLIS + calendar.timeInMillis -= calendar.timeZone.dstSavings } } }