-
Notifications
You must be signed in to change notification settings - Fork 35
Fixes for Android API 35 #166
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
Conversation
Increase targetSdkVersion, fix lordi#163
Fixes lordi#162 Problem is that the EditText of an EditTextPreference is not part of the layout when setting a custom layout. But the EditText is used like it is part of the layout and will return null every for various calls that will lead to a crash. By adding the EditText to the custom layout, it works. But it's still just a hack.
82b6780 to
9d21c4a
Compare
|
Hi, thanks for the PR! For merging I think the unit tests would need to run which are currently failing. Would it be possible for you to check these? Do you use Tickmate via Play store or F-Droid? |
|
I tried to run Tickmate from F-Droid but I experienced the same crashes when changing the icon or the color of a track as others. I will check the unit tests! |
|
The unit tests were failing due to outdated dependencies. That should be fixed now. |
|
Thanks. If I find the time I'll look into releasing a new version this weekend |
Increase target SDK to 35 so it will run on current versions of Android.
One commit fixes the crash when changing the color and icon of a track (see #162 and #157). Another commit adds working notifications for Android 13+ which needs a requestPermissions() call.
Note: This is just a quick fix to put the app in a working state again. A lot of stuff in the code is deprecated and needs a proper refactoring.