diff options
| author | 2017-02-15 19:59:17 +0900 | |
|---|---|---|
| committer | 2017-03-07 12:57:26 +0900 | |
| commit | c75d4fad229899e88f6512636eee9141be4b0951 (patch) | |
| tree | d726fb0df9d7836b5a67f8d6c4e51b97f9110ffe /libs/hwui/ProgramCache.cpp | |
| parent | 9324d6513bdc333cc2a05a8f33ba120a322fd566 (diff) | |
Always send all available state when calling onAvailable().
The state that needs to be transferred includes:
- NetworkCapabilities
- LinkProperties
- whether the network is currently suspended
Additionally:
- Rename notifyNetworkCallback() to notifyNetworkAvailable()
in order to clarify its real function.
- fix previous copy/paste error in unittest
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
- USB tethering with mobile and Wi-Fi upstream toggling
Bug: 32163131
Change-Id: Ib4460bcd5d08863a9feac9e8ab41a238897bb3ea
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions