diff options
author | lucaslin <lucaslin@google.com> | 2021-03-19 19:11:18 +0800 |
---|---|---|
committer | Lucas Lin <lucaslin@google.com> | 2021-03-25 10:29:27 +0000 |
commit | 36705517ede695d2a6a8c953371001debad5857e (patch) | |
tree | fe4d63fb67b6aa199b22682d86c8e3d1e809177f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | dd68ace7e0f082394e10997cfb2e42fb0361e1f1 (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
Merged-In: Ib8f8ea1c95503c946b8229670512af2db8be3165
(cherry-picked from ag/13927656)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions