diff options
| author | Adam Powell <adamp@google.com> | 2012-01-10 14:07:23 -0800 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2012-01-10 14:07:23 -0800 |
| commit | e882d4c26664621e9e977c8bcaadad0a1a1434d3 (patch) | |
| tree | ec1b3f5781efab6857cd3763ad8684a4c03b7b90 /samples/Support4Demos/src | |
| parent | 87376a45e4782f81710655bbacfe95c9212a5ebe (diff) | |
| download | android_development-e882d4c26664621e9e977c8bcaadad0a1a1434d3.tar.gz android_development-e882d4c26664621e9e977c8bcaadad0a1a1434d3.tar.bz2 android_development-e882d4c26664621e9e977c8bcaadad0a1a1434d3.zip | |
Catch IOException for close
Change-Id: I23115f6fa4f54fd4e1de59f3bb781dcf28e1371b
Diffstat (limited to 'samples/Support4Demos/src')
| -rw-r--r-- | samples/Support4Demos/src/com/example/android/supportv4/app/SharingReceiverSupport.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/samples/Support4Demos/src/com/example/android/supportv4/app/SharingReceiverSupport.java b/samples/Support4Demos/src/com/example/android/supportv4/app/SharingReceiverSupport.java index e26af070a..d1efa2d21 100644 --- a/samples/Support4Demos/src/com/example/android/supportv4/app/SharingReceiverSupport.java +++ b/samples/Support4Demos/src/com/example/android/supportv4/app/SharingReceiverSupport.java @@ -79,7 +79,9 @@ public class SharingReceiverSupport extends Activity { reader.close(); } } catch (FileNotFoundException e) { - Log.e(TAG, "File not found from share: " + e); + Log.e(TAG, "File not found from share.", e); + } catch (IOException e) { + Log.d(TAG, "I/O Error", e); } } |
