)]}'
{
  "commit": "ffae6c7f71e9da9f887002994d270b9dbf6d0673",
  "tree": "1704473cfd02eabd0cf21edc0eda7c49ed2f7b6a",
  "parents": [
    "dc23c5e8098c5c22d7734f8430560600611eb30c"
  ],
  "author": {
    "name": "Seigo Nonaka",
    "email": "nona@google.com",
    "time": "Fri May 26 17:50:10 2017 -0700"
  },
  "committer": {
    "name": "Seigo Nonaka",
    "email": "nona@google.com",
    "time": "Tue May 30 13:40:49 2017 -0700"
  },
  "message": "Fix NPE and wrong behavior of Typeface.isSupportedAxes\n\nThe Typeface kept by Paint object can be null if nobody calls\nsetTypeface. The null typeface is equivalent to the Typeface.DEFAULT.\nTo check whether the passed axis is usable for Typeface.DEFAULT, we\nneed to pass Typeface.DEFAULT to isSupportedAxes if no typeface was set\non the Paint.\n\nAt the same time this CL fixes an issue in isSupportedAxes.\nIf the requested axis is listed in the first element of axes list,\nisSupportedAxes returned false due to wrong handling of binarySearch\nresult.\n\nBug: 62146672\nBug: 62147012\nTest: am instrument -w -e class android.graphics.cts.PaintTest\nandroid.graphics.cts/android.support.test.runner.AndroidJUnitRunner\n\nChange-Id: I7c154adfe8a19d6ed24ad645df7c10cee7880461\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e62df8ff47429a4a35394eff94831ae23683251f",
      "old_mode": 33188,
      "old_path": "graphics/java/android/graphics/Paint.java",
      "new_id": "472dd03f63f0c89b519f491f1330aed30e054093",
      "new_mode": 33188,
      "new_path": "graphics/java/android/graphics/Paint.java"
    },
    {
      "type": "modify",
      "old_id": "5a56f53353733be873ded9ec460e78f2867ec7c5",
      "old_mode": 33188,
      "old_path": "graphics/java/android/graphics/Typeface.java",
      "new_id": "c4b56c333c646d9f285170d1ca1bde942e867958",
      "new_mode": 33188,
      "new_path": "graphics/java/android/graphics/Typeface.java"
    }
  ]
}
