Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b4e3db1 authored by Satoshi Kataoka's avatar Satoshi Kataoka Committed by satok
Browse files

Legal notice

Bug: 8533258
Change-Id: I00e4916f86f29dd476c51a65e8fa5a6c136fd179
parent 1a9bf159
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -554,4 +554,7 @@ Tip: You can download and remove dictionaries by going to <b>Language & i

    <!-- The text of the toast warning a download is starting automatically to enable suggestions for the selected language [CHAR LIMIT=100] -->
    <string name="toast_downloading_suggestions">Downloading: suggestions for <xliff:g id="language" example="English">%1$s</xliff:g> will be ready soon.</string>

    <!-- Version text [CHAR LIMIT=30]-->
    <string name="version_text">Version <xliff:g id="version_number" example="1.0.1864.643521">%1$s</xliff:g></string>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -181,6 +181,8 @@
        <PreferenceScreen
            android:key="send_feedback"
            android:title="@string/send_feedback" />
        <PreferenceScreen
            android:key="about_keyboard" />
        <PreferenceScreen
            android:key="debug_settings"
            android:title="Debug settings"
+2 −12
Original line number Diff line number Diff line
@@ -121,18 +121,8 @@ public final class DebugSettings extends PreferenceFragment
            return;
        }
        boolean isDebugMode = mDebugMode.isChecked();
        String version = "";
        try {
            final Context context = getActivity();
            if (context == null) {
                return;
            }
            final String packageName = context.getPackageName();
            PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0);
            version = "Version " + info.versionName;
        } catch (NameNotFoundException e) {
            Log.e(TAG, "Could not find version info.");
        }
        final String version = getResources().getString(
                R.string.version_text, Utils.getSdkVersion(getActivity()));
        if (!isDebugMode) {
            mDebugMode.setTitle(version);
            mDebugMode.setSummary("");
+9 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.inputmethod.latin;

import android.content.Context;
import android.content.Intent;

public class FeedbackUtils {
    public static boolean isFeedbackFormSupported() {
@@ -25,4 +26,12 @@ public class FeedbackUtils {

    public static void showFeedbackForm(Context context) {
    }

    public static int getAboutKeyboardTitleResId() {
        return 0;
    }

    public static Intent getAboutKeyboardIntent(Context context) {
        return null;
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
            "pref_suppress_language_switch_key";

    public static final String PREF_SEND_FEEDBACK = "send_feedback";
    public static final String PREF_ABOUT_KEYBOARD = "about_keyboard";

    private Resources mRes;
    private SharedPreferences mPrefs;
Loading