I have made a work profile using Shelter. I was copy-pasting some stuff in my personal profile while the work profile was disabled. Later, I discovered everything I had copied was showing up in Samsung Keyboard’s clipboard history (in the work profile). Personal profile’s Samsung Keyboard was uninstalled via ADB (among some other packages like Google Play Services), implying a different package is doing this. How can I find the culprit? (I’d love to just install LineageOS on it but there isn’t a built for the device yet. I just don’t use it for sensitive stuff.)
I might have a lead: whatever it is probably has the READ_CLIPBOARD_IN_BACKGROUND permission, but I wasn’t able to find it. Is there an adb command to list all packages with a specific permission, perhaps?


Not said in a bad way but if you do a quick search gives you can get this https://android.stackexchange.com/questions/246636/how-to-list-all-apps-with-a-specific-permission-in-adb
https://gist.github.com/gSrikar/a880b01690eb437d4dd4d610db50e0a3 this for a list of all permissions
I had come across that post, but for some reason…
It either doesn’t list anything or returns an error.
deleted by creator
I, umm, found the responsible package…
Samsung Keyboard.
Maybe it reinstalled itself after a system update? 🤦
It could be! Like always