OSDN Git Service

DO NOT MERGE. ActivityPicker shouldn't grant permissions.
authorJeff Sharkey <jsharkey@android.com>
Mon, 12 Jun 2017 23:33:58 +0000 (17:33 -0600)
committerJeff Sharkey <jsharkey@google.com>
Tue, 3 Oct 2017 20:32:03 +0000 (20:32 +0000)
commit5ef2cfac9795543db613dc0b0ece876aab5e4e7f
treed56f88892a558d025584e9af29ef181d1d256987
parent889036189bb4166fc459c1ed4f25fdd4bb8c862f
DO NOT MERGE. ActivityPicker shouldn't grant permissions.

This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.

Test: builds, boots
Bug: 32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
(cherry picked from commit 3f218e8431cb5648bcb46131551c133ba53ef870)
src/com/android/settings/ActivityPicker.java