)]}'
{
  "commit": "6f260f3691c2b33dca87f8179426fb7941319bc7",
  "tree": "7dd2dc9f2aef61e31e74651bf1fbfd70697c8edf",
  "parents": [
    "ed6d75d5f31dd69d2c91cd82cddd5ee1db49b2c7"
  ],
  "author": {
    "name": "Hugo Benichi",
    "email": "hugobenichi@google.com",
    "time": "Fri Feb 03 14:18:44 2017 +0900"
  },
  "committer": {
    "name": "Hugo Benichi",
    "email": "hugobenichi@google.com",
    "time": "Tue Feb 14 16:01:40 2017 +0900"
  },
  "message": "ConnectivityManager: fix potential NPE\n\nConnectivityManager static sCallbackHandler is referenced and directly\nused in a way that is not ensuring its proper initialization.\n\nThis patch fixes this potential NPE by using getHandler() instead.\n\nAlso this patch changes sendRequestForNetwork\u0027s signature to only accept\nthe subtype CallbackHandler instead of Handler: without using\nCallbackHandler the NetworkCallbacks are not triggered properly and\nbookkeeping of sCallbacks does not happen. sendRequestForNetwork\u0027s\nsignature now makes this explicit.\n\nThis step prepares the addition of overloaded versions of\nregisterNetworkCallback and cie that takes custom Handlers.\n\nTest: build, flashed, manually checked connectivity\nChange-Id: I52e8a2cb5075e7aef7b35e30c9845cacba927d13\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "82e3093728bc880ae23816da88449420a9f0b8f2",
      "old_mode": 33188,
      "old_path": "core/java/android/net/ConnectivityManager.java",
      "new_id": "4885550ccddb31879c02f374f01526961b99087e",
      "new_mode": 33188,
      "new_path": "core/java/android/net/ConnectivityManager.java"
    }
  ]
}
