Closed xpconanfan closed 5 years ago
Unfortunately cmds like pm list package
defaults to user 0 instead of the current user... Hence we get errors like "snippet not installed" when attempting to launch on a device whose current user is not user 0..
Can you make sure this works on a variety of devices?
I've seen issues on some devices where user id doesn't work properly
Yes we've tried on lower API versions and Auto devices. Do you have specific device models that we should try on?
the devices I thinking about are android go devices
Tried both running the adb cmd directly and running the snippet client within a test on Android Go. Seems fine.
It does not make sense to attempt to launch snippet in a non-active user. So we should always do package check and snippet launch in the context of the current user.
This change is