diff options
author | lucaslin <lucaslin@google.com> | 2021-03-19 19:11:18 +0800 |
---|---|---|
committer | lucaslin <lucaslin@google.com> | 2021-03-19 19:12:47 +0800 |
commit | e52df5b668125f69af33afe1ffd7e7e2d88bd4e4 (patch) | |
tree | c1e051b3e44dba7885c43b8eef97c88e66063c6f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6dae2c8f594aeae578923c3e94df775522eb4b10 (diff) |
Remove the usage of hidden API and simplify the design
- ConnectivityManager will be a part of mainline module, so its
hidden API cannot be called by external caller.
- There is no need to listen onNetworkSuspended() and
onNetworkResumed() because if the network is suspended, then
NET_CAPABILITY_NOT_SUSPENDED will be removed and
onCapabilitiesChanged() will be called and the network capabilities
will be different from the previous one. And when the network is
resumed, NET_CAPABILITY_NOT_SUSPENDED will be added back to the
network capabilities. So the current design can be simplified.
Bug: 182963397
Test: atest FrameworksVcnTests
Change-Id: Ib8f8ea1c95503c946b8229670512af2db8be3165
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions