summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java')
-rw-r--r--src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java b/src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java
index dff15164b..bc17a6e03 100644
--- a/src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java
+++ b/src/com/android/gallery3d/filtershow/provider/SharedImageProvider.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.android.gallery3d.filtershow.provider;
@@ -11,11 +26,9 @@ import android.os.ParcelFileDescriptor;
import android.provider.BaseColumns;
import android.provider.MediaStore;
import android.provider.OpenableColumns;
-import android.util.Log;
import java.io.File;
import java.io.FileNotFoundException;
-import java.util.Arrays;
public class SharedImageProvider extends ContentProvider {
@@ -107,6 +120,7 @@ public class SharedImageProvider extends ContentProvider {
return cursor;
}
+ @Override
public ParcelFileDescriptor openFile(Uri uri, String mode)
throws FileNotFoundException {
String uriPath = uri.getLastPathSegment();