commit | b143ff6b6c2d1614e5f5ff06aa2fe19d05cad490 | [log] [tgz] |
---|---|---|
author | Vladislav Kaznacheev <kaznacheev@google.com> | Fri Jan 27 16:39:13 2017 -0800 |
committer | Vladislav Kaznacheev <kaznacheev@google.com> | Fri Jan 27 16:39:13 2017 -0800 |
tree | 00fc68fe7a8047feec12e38b349f3a40febb3e91 | |
parent | e244fd33b197c43c31b7010b5cb62ebb43743072 [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