/*
 * Copyright (C) 2020 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.
 */

syntax = "proto2";

import "frameworks/base/core/proto/android/view/inputmethod/editorinfo.proto";

package android.server.inputmethod;

option java_multiple_files = true;

message InputMethodManagerServiceProto {
    optional string cur_method_id = 1;
    optional int32 cur_seq = 2;
    optional string cur_client = 3;
    optional string cur_focused_window_name = 4;
    optional string last_ime_target_window_name = 5;
    optional string cur_focused_window_soft_input_mode = 6;
    optional .android.view.inputmethod.EditorInfoProto cur_attribute = 7;
    optional string cur_id = 8;
    reserved 9; // deprecated show_requested
    optional bool show_explicitly_requested = 10 [deprecated=true];
    optional bool show_forced = 11 [deprecated=true];
    optional bool input_shown = 12;
    optional bool in_fullscreen_mode = 13;
    optional string cur_token = 14;
    optional int32 cur_token_display_id = 15;
    optional bool system_ready = 16;
    reserved 17; // deprecated last_switch_user_id
    optional bool have_connection = 18;
    optional bool bound_to_method = 19;
    optional bool is_interactive = 20;
    optional int32 back_disposition = 21;
    optional int32 ime_window_visibility = 22;
    optional bool show_ime_with_hard_keyboard = 23 [deprecated = true];
    optional bool accessibility_requesting_no_soft_keyboard = 24;
    optional bool concurrent_multi_user_mode_enabled = 25;
    optional bool prevent_ime_startup_unless_text_editor = 26;
}
