diff options
author | Erik Kline <ek@google.com> | 2017-06-05 16:02:02 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2017-06-08 16:50:17 +0900 |
commit | a1d368af2f01e2048240fb730f6cc399fc1cc1ab (patch) | |
tree | a49d31e3be5108e4b4af61304b8114ea726378a1 /rs/java/android/renderscript/ProgramStore.java | |
parent | da5b77fa9b8baf08208180a7186efae1fdf9fefc (diff) |
Move findPreferredUpstreamType into UNM
This changes the way in which available networks are found. Previously
Tethering asked ConnectivityService for NetworkInfo and checked for
whether or not it was in state CONNECTED.
Here we use the fact that ConnectivityService will not call UNM's
callbacks' onAvailable() methods until the networks in question have
become connected.
Test: as follows
- built
- flashed
- booted
- runtest framework-net passed
Bug: 32163131
Change-Id: I97abe225fdd3accb38bd9168f545445b761a90d8
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions