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

Commit f347ce86 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Introduce a runtime flag for InputMethodInfoSafeList

In order to address TransactionTooLargeException when trying to pass
List<InputMethodInfo> over Binder IPC, we are planning to introduce

  InputMethodInfoSafeList,

which relies on Parcel#{read,write}Blob(). As a preparation this CL
introduces a new runtime flag.

There must be no observable behavior change (yet).

Bug: 339761278
Flag: android.view.inputmethod.use_input_method_info_safe_list
Test: presubmit
Change-Id: Id74a17fe7e3655177af63894dde92772cf26a5f2
parent ae77956c
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -61,6 +61,17 @@ flag {
    is_fixed_read_only: true
}

flag {
    name: "use_input_method_info_safe_list"
    namespace: "input_method"
    description: "Use InputMethodInfoSafeList for more reliable binder IPCs"
    bug: "339761278"
    is_fixed_read_only: true
    metadata {
      purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "ime_switcher_revamp"
    is_exported: true