)]}'
{
  "commit": "05f86d1eec26b588caf45dbfb5a412176428e0a7",
  "tree": "182eaa011ace20cdbfa39f18761fd622b6108e43",
  "parents": [
    "2d3face59a6c7cc4e3e8651545302f0fb836c011"
  ],
  "author": {
    "name": "Christopher Wiley",
    "email": "wiley@google.com",
    "time": "Wed Jul 13 18:57:34 2016 -0700"
  },
  "committer": {
    "name": "Mitchell Wills",
    "email": "mwills@google.com",
    "time": "Mon Aug 29 11:26:46 2016 -0700"
  },
  "message": "Properly disable WiFi tethering\n\nWhen Tethering.stopTethering(\u003cwifi\u003e) is called, we set\nmWifiTetheringRequested to false and request the AP be torn down.\nPreviously, we would discard WIFI_AP_STATE_CHANGED_ACTION Intents,\nbecause mWifiTetheringRequested was set to false.  This would in\nturn cause us to leave tethering enabled, because we only tear down\ntethering upon noticing that the interface is going down\n(as signalled by WifiManager via this Intent).\n\nIn the past, this was covered up because we would tear down tethering\nwhen the interface was taken down.  Now that we rely on SoftApManager\nto notify us of AP state, we need to pay very close attention to what\nis being said about the state.\n\nBug: 30124308\nTest: Can toggle tethering on and off reliably on shamu, bullhead,\n      angler with no SIM.\n\nChange-Id: If46a8ee11cf4c07c5cc336523f5e5f00273500ec\n(cherry picked from commit e52b24a0c52c6e29ea99760c920724f4143ac605)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6f67b6fae8fc879c949142f7f85056d6939d3018",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/connectivity/Tethering.java",
      "new_id": "e9b66902d49167a40e608220d565ca2eca20f977",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/connectivity/Tethering.java"
    }
  ]
}
