mvmike / min-cal-widget

Minimal calendar widget
BSD 3-Clause "New" or "Revised" License
88 stars 15 forks source link

"Start day" cause "Settings keep stopping" #240

Open jared-chen opened 6 months ago

jared-chen commented 6 months ago

Checklist

Describe the bug

After updating to Android 14, setting the "Start day" will cause "Settings keep stopping".

Steps To Reproduce

  1. Go to MinCal.
  2. Tap "Start Day".
  3. Nothing happened.
  4. Tap "Start Day" again.
  5. System show a "Settings keep stopping" message box. Screenshot_2024-04-18-21-21-59-51_54556be241cc90967d21605a1f08a719 Screenshot_2024-04-18-21-22-24-85_fc704e6b13c4fb26bf5e411f75da84f2

Expected Behavior

It should work as it did in Android 13.

Affected app version

2.16.0

Device

Realme RMX3396

Android version

14 (I'm sure it's 14)

Launcher

Realme UI 14.0.25

Additional context and screenshots

No response

mvmike commented 6 months ago

Hi @jared-chen,

Indeed, since android 14, system regional preferences (documentation here) are supported for apps, both for reading the current value (as I see it happening in the screenshot) and opening the regional preferences settings screen when tapping.

Since MinCal is just launching an intent in a predefined android settings action to open regional preferences, seems to me this is not an issue in MinCal but rather Realme not supporting the default implementation.

Since I don't have a Realme device, I'd highly appreciate a logcat to see if the issue can be corrected, but I'd like to avoid rolling back an android new feature (have with me a few Android devices with A14 at hand it's working in all of them).

Hopefully, upcoming updates on Realme's Android 14 will correct these small issues. In the meantime, you can change the start day of the week from System > Languages & input > Regional preferences instead