Revert "Revert "Implement Help&Feedback. P1/2""
This reverts commit fb49bad9a90dcec8a71dfaebb2810a9af82992ef.
Change-Id: I42af6fccc81895f17dfab2f24ab3fb87d1be59b8
diff --git a/src/com/android/contactsbind/HelpUtils.java b/src/com/android/contactsbind/HelpUtils.java
new file mode 100644
index 0000000..edec35a
--- /dev/null
+++ b/src/com/android/contactsbind/HelpUtils.java
@@ -0,0 +1,40 @@
+/*
+ * 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.contactsbind;
+
+import android.app.Activity;
+
+/**
+ * Utility for starting help and feedback activity. This stub class is designed to be overwritten
+ * by an overlay.
+ */
+public class HelpUtils {
+
+ /**
+ * Returns {@code TRUE} if {@link @launchHelpAndFeedbackForMainScreen} and
+ * {@link @launchHelpAndFeedbackForContactScreen} are implemented to start help and feedback
+ * activities.
+ */
+ public static boolean isHelpAndFeedbackAvailable() {
+ return false;
+ }
+
+ public static void launchHelpAndFeedbackForMainScreen(Activity activity) { }
+
+ public static void launchHelpAndFeedbackForContactScreen(Activity activity) { }
+
+}