commit | 746999bf7ad8d9ce52a8eefdad902118eaa833f0 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon May 20 09:45:40 2019 -0600 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Mon May 20 21:07:26 2019 +0000 |
tree | 05338e6c881fed4a4b6ae93002a627b86ca67410 | |
parent | f223e86cc07bd1b01619aa034555692c6ca64051 [diff] |
Fix regressions from performance optimizations. getType() can be called from UID 1000 during intent resolution. When detecting IS_PENDING state we need to query the resolved Uri. Bug: 133118408 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I53e4675c5dd88f498f3cbba80ab99ee16d4b4a7b (cherry picked from commit 95ee8965c857485059fc8ae6329358d12265dec3)