)]}'
{
  "commit": "b0fa378f9d390d27ab2a2f83eb6fa16f2b5cbb97",
  "tree": "43413817e97fb7f86dfdc4bc6b3515e0cb2a84ed",
  "parents": [
    "bf6edacac900e4f889dde292474e0e3fecb8d689"
  ],
  "author": {
    "name": "Dake Gu",
    "email": "dake@google.com",
    "time": "Mon Feb 26 12:25:14 2018 -0800"
  },
  "committer": {
    "name": "Dake Gu",
    "email": "dake@google.com",
    "time": "Wed Feb 28 16:10:07 2018 -0800"
  },
  "message": "autofill: touch on IME should not close autofill\n\nag/3434666 causes a regression:\nBefore ag/3434666, autofill gets touch event after IME, autofill\nclose itself if it gets ACTION_OUTSIDE touch event.\nBut after ag/3434666, autofill intercepts touch events before IME, if\nuser touches within IME, autofill still gets ACTION_OUTSIDE event,\nand close itself unexpectedly.\n\nThe fix moves the closing code to ViewRootImpl.EarlyPostImeStage\naround the same place closing tooltip.\n\nIf user taps outside autofill window, we will force to close window,\neven last autofillid that requestShowUi does not match.\n\nBug: 73796497\nTest: atest CtsAutoFillServiceTestCases\nTest: Added LoginActivityTest.testAutofillTapOutside\nTest: manually tested using IME and sample app\nTODO: need a fake IME service to dispatch given key upon touch.\n\nChange-Id: I10fc0d29dc30d29a48b2118264ec1c4375062deb\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01d9265cc92c8a906236310f1131ba05cd8a91ce",
      "old_mode": 33188,
      "old_path": "core/java/android/view/ViewRootImpl.java",
      "new_id": "62755669affd1931dc1493ed8fbf369e4d7b2907",
      "new_mode": 33188,
      "new_path": "core/java/android/view/ViewRootImpl.java"
    },
    {
      "type": "modify",
      "old_id": "a4261ebe16a013ade881a942dff6a958c87cf030",
      "old_mode": 33188,
      "old_path": "core/java/android/view/autofill/AutofillManager.java",
      "new_id": "1e562ea7b6d7477f8a11b870f0392e929b1f69ae",
      "new_mode": 33188,
      "new_path": "core/java/android/view/autofill/AutofillManager.java"
    },
    {
      "type": "modify",
      "old_id": "7278e83ce0894a806d192bbc730bca4f5e843d88",
      "old_mode": 33188,
      "old_path": "services/autofill/java/com/android/server/autofill/ui/FillUi.java",
      "new_id": "dbed242b6ce01f6bd32bba4cefe5c0e77942b261",
      "new_mode": 33188,
      "new_path": "services/autofill/java/com/android/server/autofill/ui/FillUi.java"
    }
  ]
}
