summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVladislav Kaznacheev <kaznacheev@google.com>2017-01-27 16:39:13 -0800
committerVladislav Kaznacheev <kaznacheev@google.com>2017-01-27 16:39:13 -0800
commitb143ff6b6c2d1614e5f5ff06aa2fe19d05cad490 (patch)
tree00fc68fe7a8047feec12e38b349f3a40febb3e91 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente244fd33b197c43c31b7010b5cb62ebb43743072 (diff)
Handle SecurityException in ClipData.Item.coerceToText
Catch SecurityException and print a log warning. The most likely reason for such SecurityException is a drag and drop operation with a resource (such as a file) for which the recipient app has no permissions. Bug: 34716083 Test: Drag a file from Files app to Docs, Docs should not crash Change-Id: Ib4ebbb01bd3ca87b221e15fac769368272ff4fc4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions