DO NOT MERGE Check if package is installed before lauching it in Recent Location Requests


This change removes calling PackageManager.resolveActivity and checks if
the package is installed instead. Calling resolveActivity on apps like Maps and
Assistant returns android, and therefore causing the Android System
AppInfo to launch when clicked on Maps and Assistant in Recent Location Requests.

Bug: 166786767
Test: make, verify Maps in Recent Location Requests launches Maps
AppInfo

Change-Id: I91dbc9e3783c5723220a7e08e6c0f84bb01cf290
(cherry picked from commit 7f25501c3a95a26dfa8ca18f6286b61af8f79250)
1 file changed
tree: d6697ce61067fa050e112945b80ca7895a00d3fa
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg