Bug 494163

Summary: Version 1.32.3 cannot start on android 14.X because of SdkApi restriction
Product: [Applications] kdeconnect Reporter: tutul
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andrew.g.r.holmes, filip.kendes1
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash log got using LogFox

Description tutul 2024-10-05 10:56:24 UTC
Created attachment 174446 [details]
Crash log got using LogFox

KDEConnect version 1.32.2 (latest on F-Droid at this date) cannot start on Android 14.x because of SdkApi restriction.
Look like it's caused by the "receive remote button" external plugin (not sure of the name of that plugin in English), if I purge the data to reset the app, then connect to the computer again and disable that external module, the app seem to work fine.

java.lang.SecurityException: Settings key: is only readable to apps with targetSdkVersion lower than or equal to: 33


STEPS TO REPRODUCE
1. Upgrade to the latest version
2. (optional) if you have LogFox, start it up to catch the Exception
3. Enable the "receive remote keystroke" external plugin
4. Try to open the app or refresh it and see the return to Home

OBSERVED RESULT
The app doesn't start

EXPECTED RESULT
The app start and stay active

SOFTWARE/OS VERSIONS
Android: 14
LineageOS: 21-20240919

ADDITIONAL INFORMATION
Comment 1 Filip 2024-10-05 14:09:18 UTC

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