Avoid showing the disambiguation dialog

Don't show the disambiguation dialog if there is a preferred one and
the new package which is installed with INSTALL_REASON_DEVICE_SETUP.

Bug: 176933368
Test: atest PreferredComponentTest
Test: using 'pm install --install-reason 3' to install another intent
      filter and check if disambiguation dialog shows.
Change-Id: I1bf714192627d147e5df952ff536033ccd2fecb1
4 files changed