Bug 494068 - Immediate crash on launch caused by property being unreadable
Summary: Immediate crash on launch caused by property being unreadable
Status: RESOLVED DUPLICATE of bug 493943
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 14.x
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-03 21:34 UTC by Alex Gravitos
Modified: 2024-10-03 21:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Gravitos 2024-10-03 21:34:35 UTC
SUMMARY
There's currently an issue on Android 14 that immediately crashes KDE Connect on start, presumably related to it trying to see if its input method is enabled. Since API 34, this value is not readable ( https://developer.android.com/reference/android/provider/Settings.Secure#ENABLED_INPUT_METHODS ) and InputMethodManager.getEnabledInputMethodList() ( https://developer.android.com/reference/android/view/inputmethod/InputMethodManager#getEnabledInputMethodList() ) should be used instead. KDE Connect 1.32.4 from Play Store targets API 35.

STEPS TO REPRODUCE
1. Install KDE Connect from Google Play on an Android 14 device
2. Launch it
3. Connect to a device? I already have a few connections set up, maybe you need to set one up to see this.

OBSERVED RESULT
Immediate crash.

EXPECTED RESULT
App functions normally.

SOFTWARE/OS VERSIONS
Android 14 (crDroid 10.7, security update for Aug 5th, 2024, for miatoll)

ADDITIONAL INFORMATION
Log: https://paste.crdroid.net/vIuiRU

p.s. the version field for kde connect bug tracker does not let me specify the proper version for the android app
Comment 1 Iyán Méndez Veiga 2024-10-03 21:53:12 UTC

*** This bug has been marked as a duplicate of bug 493943 ***