ProductionFlags.java revision cabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e
1/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.inputmethod.latin.define;
18
19public final class ProductionFlags {
20    private ProductionFlags() {
21        // This class is not publicly instantiable.
22    }
23
24    public static final boolean IS_HARDWARE_KEYBOARD_SUPPORTED = false;
25
26    /**
27     * When true, enable {@link InputMethodService#onUpdateCursorAnchorInfo} callback via
28     * {@link InputConnection#requestUpdateCursorAnchorInfo}. This flag has no effect in API
29     * Level 20 and prior. In general, this callback provides detailed positional information,
30     * even though an explicit support is required by the editor.
31     */
32    public static final boolean ENABLE_CURSOR_ANCHOR_INFO_CALLBACK = true;
33
34    /**
35     * Include all suggestions from all dictionaries in {@link SuggestedWords#mRawSuggestions}.
36     */
37    public static final boolean INCLUDE_RAW_SUGGESTIONS = false;
38
39    /**
40     * When false, the metrics logging is not yet ready to be enabled.
41     */
42    public static final boolean IS_METRICS_LOGGING_SUPPORTED = false;
43}
44