-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5x2 Widget crash with custom date #598
Comments
Huh, interesting. We've had both those things before, but I've not seen them happening together. |
this looks relevant particularly, "string index out of range" |
I assume a number between, say 0 and 6 is expected for some input or other. for an unknown reason -2 is returned. we could put in some logic to force it to default to 0 if it is outside the allowed range, or even better find out why it is sometimes -2 |
The clock widget crashes when I try to place it on my screen too. |
Looked in the code for this and it appears to be related to a missing hyphen "-" in certain date/time formats, someone else found this here #287 (comment) #365 fixed this for TimeWidgetProvider.java, but not for ClassicTimeWidgetProvider.java which also has this problem |
Hi.
Device: Motorola G7 Play
OS: Lineage 18.1 / Android 11
If I change the date format to
... the widget (5x2) becomes this
And if I tap on that blue screen, the app crashes.
Follows logcat, in case it's useful
logcat.txt
The text was updated successfully, but these errors were encountered: