diff options
author | Sascha Haeberling <haeberling@google.com> | 2013-11-21 13:52:15 -0800 |
---|---|---|
committer | Sascha Haeberling <haeberling@google.com> | 2013-11-21 15:36:19 -0800 |
commit | 280fd3edae1dc35ac1015bcc9532477169fad3aa (patch) | |
tree | 7685fe18213aa8c5826f1b9517e25af16661562c /src_pd_gcam/com | |
parent | 205b827d4e73692d4ac1f3448705679843db0c9b (diff) | |
download | android_packages_apps_Camera2-280fd3edae1dc35ac1015bcc9532477169fad3aa.tar.gz android_packages_apps_Camera2-280fd3edae1dc35ac1015bcc9532477169fad3aa.tar.bz2 android_packages_apps_Camera2-280fd3edae1dc35ac1015bcc9532477169fad3aa.zip |
Introduce common services and integrate Refocus end-to-end.
Bug: 11120164
Bug: 10073814
This adds a new common CameraServices interface and a method to every
module to get it. Through this we can expose common services and due to
the interface, we can easily mock them for tests.
Also makes the MediaSaveService not a service anymore.
Change-Id: Ifa093efd4ba53c2955ccc2a990b4f18610c29944
Diffstat (limited to 'src_pd_gcam/com')
-rw-r--r-- | src_pd_gcam/com/android/camera/util/GcamHelper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src_pd_gcam/com/android/camera/util/GcamHelper.java b/src_pd_gcam/com/android/camera/util/GcamHelper.java index 9570f35f9..d3f96bcb0 100644 --- a/src_pd_gcam/com/android/camera/util/GcamHelper.java +++ b/src_pd_gcam/com/android/camera/util/GcamHelper.java @@ -18,10 +18,11 @@ package com.android.camera.util; import android.content.ContentResolver; import com.android.camera.CameraModule; +import com.android.camera.app.CameraServices; public class GcamHelper { - public static CameraModule createGcamModule() { + public static CameraModule createGcamModule(CameraServices services) { return null; } |