From 280fd3edae1dc35ac1015bcc9532477169fad3aa Mon Sep 17 00:00:00 2001 From: Sascha Haeberling Date: Thu, 21 Nov 2013 13:52:15 -0800 Subject: 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 --- src_pd_gcam/com/android/camera/util/GcamHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src_pd_gcam') 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; } -- cgit v1.2.3