commit | 14628e4926f7898dd614bbee5abba0f6e211bf6e | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Tue Mar 17 23:02:50 2020 +0800 |
committer | markchien <markchien@google.com> | Tue Mar 17 23:02:50 2020 +0800 |
tree | 2d69eff879d9d2b5f81bc839d8c86ff0ce386dd6 | |
parent | 7d528431b9de0b79b7fefbc9400fdd50bb321f1b [diff] |
Remove no-op TetheringEventCallback default function From API guideline: for platform code and libraries targeting Java 8 or later, should prefer interfaces in cases where the default implementation is stateless. Remove no-op default funnction call in HotspotControllerImpl, then change TetheringEventCallback from abstruct class to interface with default methods. Bug: 151243337 Test: m, atest Change-Id: I694f9110cffb7be8e4fd99bf6ac29e8a47131326