diff options
| -rw-r--r-- | core/java/android/content/ClipData.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/ClipData.java b/core/java/android/content/ClipData.java index 70967712f068..b39f1e0f47d4 100644 --- a/core/java/android/content/ClipData.java +++ b/core/java/android/content/ClipData.java @@ -353,6 +353,9 @@ public class ClipData implements Parcelable { } return builder.toString(); + } catch (SecurityException e) { + Log.w("ClipData", "Failure opening stream", e); + } catch (FileNotFoundException e) { // Unable to open content URI as text... not really an // error, just something to ignore. @@ -536,6 +539,9 @@ public class ClipData implements Parcelable { return Html.escapeHtml(text); } + } catch (SecurityException e) { + Log.w("ClipData", "Failure opening stream", e); + } catch (FileNotFoundException e) { // Unable to open content URI as text... not really an // error, just something to ignore. |