diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-11-30 15:52:46 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-12-02 18:11:16 +0900 |
commit | 79664cbf54cceb1def42fd6f806e4abf0ba9dcbc (patch) | |
tree | d3cd21907fedf8b854980cb9891707f93dfeaade /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c75561736404c03be88d490ceb4de64e8811bfdf (diff) |
Set NetworkIdentity subscriberId on all networks
Instead of setting NetworkIdentity.subscriberId only on telephony
networks, set it when provided on any network. At the moment only
telephony is expected to have a subscriberId in its NetworkState anyway,
and while there are plans for other network agents (wifi) to have a
subscriberId, it should also be set in that case.
This allows NetworkIdentity to stop depending on hidden network type
APIs to determine if the network is mobile.
Bug: 174436414
Test: atest FrameworksNetTests
Change-Id: I4f09987f8737d1801342eb5d6d7c2b9968b466b0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions