summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/util
diff options
context:
space:
mode:
authorPuneet Lall <puneetl@google.com>2015-02-20 23:35:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-20 23:35:22 +0000
commit1893a030b6b68feb859f99900fc13e5e79e539ae (patch)
treee64775afbfab6254caf9eee8a8beef8384f80f7c /src/com/android/camera/util
parent6645855f2f0989254e2edf72f330e2d30dcef564 (diff)
parent270990a7e3fcd1cf71b652c9ad1cc46598ddf4b3 (diff)
downloadandroid_packages_apps_Camera2-1893a030b6b68feb859f99900fc13e5e79e539ae.tar.gz
android_packages_apps_Camera2-1893a030b6b68feb859f99900fc13e5e79e539ae.tar.bz2
android_packages_apps_Camera2-1893a030b6b68feb859f99900fc13e5e79e539ae.zip
Merge "Reset the camera after detecting repeated failure" into ub-camera-haleakala
Diffstat (limited to 'src/com/android/camera/util')
-rw-r--r--src/com/android/camera/util/Provider.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/camera/util/Provider.java b/src/com/android/camera/util/Provider.java
new file mode 100644
index 000000000..959bb6458
--- /dev/null
+++ b/src/com/android/camera/util/Provider.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2015 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.camera.util;
+
+/**
+ * TODO Replace with jsr330 Provider interface.
+ */
+public interface Provider<T> {
+ public T get();
+}