Not sending my uid as ORIGINATING_UID to package installer
authorSuprabh Shukla <suprabh@google.com>
Fri, 2 Jun 2017 01:21:32 +0000 (18:21 -0700)
committerSuprabh Shukla <suprabh@google.com>
Thu, 22 Jun 2017 22:13:39 +0000 (22:13 +0000)
commitdc9bffedf196361dde67a887bb8669d619926c24
tree307f4017ec9be1bba8e0fd2d5cd9ad34ec4dfc99
parent6ce29a9908d271bdfe8fedce3f43629c65bb239c
Not sending my uid as ORIGINATING_UID to package installer

In some cases the UID column may have download provider uid. We should
not send this as the originating uid for blaming app installs.

Test: Manually copied an apk to internal storage and back to downloads.
Tapping on apk launches package installer as expected.

Fixes: 62909163

Change-Id: Ie75da734b1bd43bc61112c023cb1587e4c2ff20e
Merged-In: Ie75da734b1bd43bc61112c023cb1587e4c2ff20e
(cherry picked from commit b7aea795beec6721c60b59c9d945e4d964466323)
src/com/android/providers/downloads/OpenHelper.java