am 4f57a634: Merge "Use Google Feedback"
* commit '4f57a634d34d29705d8abc1c605936b086277461': Use Google Feedbackmain
commit
0ffe87a2fe
|
@ -48,7 +48,6 @@ import com.android.inputmethod.latin.utils.AdditionalSubtypeUtils;
|
||||||
import com.android.inputmethod.latin.utils.ApplicationUtils;
|
import com.android.inputmethod.latin.utils.ApplicationUtils;
|
||||||
import com.android.inputmethod.latin.utils.FeedbackUtils;
|
import com.android.inputmethod.latin.utils.FeedbackUtils;
|
||||||
import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
|
import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
|
||||||
import com.android.inputmethod.research.ResearchLogger;
|
|
||||||
import com.android.inputmethodcommon.InputMethodSettingsFragment;
|
import com.android.inputmethodcommon.InputMethodSettingsFragment;
|
||||||
|
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
@ -143,12 +142,7 @@ public final class SettingsFragment extends InputMethodSettingsFragment
|
||||||
feedbackSettings.setOnPreferenceClickListener(new OnPreferenceClickListener() {
|
feedbackSettings.setOnPreferenceClickListener(new OnPreferenceClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onPreferenceClick(final Preference pref) {
|
public boolean onPreferenceClick(final Preference pref) {
|
||||||
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
|
||||||
// Use development-only feedback mechanism
|
|
||||||
ResearchLogger.getInstance().presentFeedbackDialogFromSettings();
|
|
||||||
} else {
|
|
||||||
FeedbackUtils.showFeedbackForm(getActivity());
|
FeedbackUtils.showFeedbackForm(getActivity());
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue