)]}'
{
  "commit": "dc394bdd437230551fa67b6e6206b7fb29ad1937",
  "tree": "97f784eabb322a87aa01581941934baa4e24e44a",
  "parents": [
    "c7bce3369b69fea842800fc22c6fe86fadd5290c"
  ],
  "author": {
    "name": "Yohei Yukawa",
    "email": "yukawa@google.com",
    "time": "Tue Aug 22 14:02:22 2023 -0700"
  },
  "committer": {
    "name": "Yohei Yukawa",
    "email": "yukawa@google.com",
    "time": "Thu Sep 07 20:04:50 2023 +0000"
  },
  "message": "Fix an edge case in IMS#switchInputMethod()\n\nThis CL fixes a long-standing edge case when\n\n  InputMethodService#switchInputMethod(String, InputMethodSubtype)\n\nstops working when it should work.\n\nIn short, IMMS#mCurrentSubtype can be null even when the IME has\nenabled and existing subtype. IMMS#setInputMethodLocked() should just\ngo ahead to handle the request rather than bailing out.\n\nFix: 231444489\nFix: 291762796\nTest: atest CtsInputMethodTestCases:InputMethodSubtypeEndToEndTest\nChange-Id: I5402f1b01da940a87a645721686270aca609b933\n(cherry picked from commit da56eb5c95996b629f5be536f42bd8c70179ae6a)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3812dd60cd70661c040e7a42526d50f211af5702",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java",
      "new_id": "aff20eea9aa3b83517a8608c8d09f971957352d9",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java"
    }
  ]
}
