https://bugs.kde.org/show_bug.cgi?id=437958

            Bug ID: 437958
           Summary: SMS messaging spams log about missing permissions
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: matth...@stdin.nl
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to