Bug 437958 - SMS messaging spams log about missing permissions
Summary: SMS messaging spams log about missing permissions
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-01 14:13 UTC by Matthijs Kooijman
Modified: 2021-06-01 14:13 UTC (History)
0 users

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 Matthijs Kooijman 2021-06-01 14:13:03 UTC
SUMMARY
I noticed that adb logcat shows a flood of repeated permission errors when I have the SMS messaging app open on my PC.

Note that I'm using  gsconnect on the PC side, but given the errors are on the Android side, I'm reporting this here anyway.

I'm not sure what permissions are missing, I've granted all permissions in the Android app except for "Receive remote keypresses" and "Mouse receiver", but neither seem relevant here.

STEPS TO REPRODUCE
1. Install KDE connect on Android
2. Connect it to PC using GSConnect
3. Open the messaging (SMS) application on the PC

This worked to reproduce one time, but later I tried again and the messages did not appear, so I'm not entirely sure that the messaging app is the problem.

OBSERVED RESULT

adb logcat repeats these lines, 4-8 times per second:

06-01 15:57:32.972 17765 31928 E CursorWindow: Failed to read row 0, column -1 from a CursorWindow which has 1 rows, 8 columns.
06-01 15:57:32.976   748 29812 W DevicePolicyManager: Package org.kde.kdeconnect_tp (uid=10155, pid=17765) cannot access Device IDs
06-01 15:57:32.977  3193  3234 W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:org.kde.kdeconnect_tp:getSubscriptionInfoList:isPreinstalled=false:isPrivApp=false
06-01 15:57:33.115   748  5155 W DevicePolicyManager: Package org.kde.kdeconnect_tp (uid=10155, pid=17765) cannot access Device IDs
06-01 15:57:33.116  3193  4510 W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:org.kde.kdeconnect_tp:getSubscriptionInfoList:isPreinstalled=false:isPrivApp=false

I've also seen the CursorWindow messages separately from the other messages, so maybe those are unrelated.

EXPECTED RESULT
Just one error message, or ideally none.

SOFTWARE/OS VERSIONS
Linux: Ubuntu Focal 20.04, with gnome 3.36.8 and GSConnect version 43.
Android: Lineage 17 (Android 10), with KDE Connect app 1.17.0