)]}'
{
  "commit": "b90aef7bd7890208535d970e8cc296fd82d54741",
  "tree": "91dd2d4068d1807b3140a8f665c2c38301d467a9",
  "parents": [
    "a9d2c1f17c2c128231df3d0aa771b55f697d3f61"
  ],
  "author": {
    "name": "Riddle Hsu",
    "email": "riddlehsu@google.com",
    "time": "Mon Jan 29 23:26:09 2024 +0800"
  },
  "committer": {
    "name": "Riddle Hsu",
    "email": "riddlehsu@google.com",
    "time": "Tue Jan 30 17:59:23 2024 +0800"
  },
  "message": "Update decor insets by checking frame of all insets sources\n\nThe case is similar to [1]. But the amount of insets source window\nis not changed. Such as if display cutout has a top insets with 50px.\nAnd then status bar changes the height from 20px to 40px, but the\ntop insets is still 50px so nothing is updated.\n\nBy comparing the frame in each insets sources, it can still find\nthe differences of size, then the insets in other rotations can also\nbe updated.\n\n[1]: Ieedcc6388237b7feccd8a869105a5f8e70ff4afd\n\nThis fixes flickering of display cutout when rotating the display\nafter increasing screen resolution. Which is caused by the additional\nconfig change from the relayout of status bar, e.g. from above\nexample, there will be a 20px diff in config frame.\n\nFix: 319205785\nTest: DisplayPolicyTests#testUpdateDisplayConfigurationByDecor\nChange-Id: I6a90921d08ec6599c7cd7de27b8c1a297b0acf03\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e2bc59bb6550d775434f3f0595dfdf075b4cba06",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/DisplayPolicy.java",
      "new_id": "a7bbc25d0bb1866986ee10e4fad8805e405f5454",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/DisplayPolicy.java"
    },
    {
      "type": "modify",
      "old_id": "9e00f927a568046e586aa325a8a353d1c3552b18",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/DisplayPolicyTests.java",
      "new_id": "5d14334aaf6933edcaa59760f0a99572d34e0315",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/DisplayPolicyTests.java"
    }
  ]
}
