Bug 494068

Summary: Immediate crash on launch caused by property being unreadable
Product: [Applications] kdeconnect Reporter: Alex Gravitos <driverelectro6700>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andrew.g.r.holmes, me
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***