Add no-op clearcut logger impl to AOSP contacts

Bug 18388581

Change-Id: Ibe6abe84380e701938f2513da15ef37c36ea2243
diff --git a/src/com/android/contactsbind/ClearcutLoggerHelper.java b/src/com/android/contactsbind/ClearcutLoggerHelper.java
new file mode 100644
index 0000000..8c7d86b
--- /dev/null
+++ b/src/com/android/contactsbind/ClearcutLoggerHelper.java
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2016 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.contactsbind;
+
+import com.android.contacts.logging.Logger;
+
+/**
+ * No-op clearcut logger implementation.
+ */
+public class ClearcutLoggerHelper extends Logger {
+
+    private static ClearcutLoggerHelper sInstance;
+
+    public static ClearcutLoggerHelper getInstance() {
+        if (sInstance == null) {
+            sInstance = new ClearcutLoggerHelper();
+        }
+        return sInstance;
+    }
+
+    private ClearcutLoggerHelper() {
+    }
+
+    @Override
+    public void logScreenViewImpl(int screenType) {
+    }
+}