Joseph Sterchele
Feb 01, 2019
5:13 pm

applicationPolicy addHomeShortcut is adding all shortcuts of a package on some devices

Device 1: Note 8, Oreo 8.0

Device 2: Active 2, Oreo 8.1


We supply a list of packages that we would want to install in a certain order on our container home screen. One of our packages has 2 launchers associated with it.

we call applicationPolicy.addHomeShortcut( _packageName, null ); to add the shortcuts to our home screen.   On our Active 2, calling this method installs all launchers per package. On the other hand, our Note 8 and all devices on lower SDKs only install the default launcher.  Is this a known bug? Why would it be acting differently on Note 8 vs Active 2?