summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2020-11-30 15:52:46 +0900
committerRemi NGUYEN VAN <reminv@google.com>2020-12-02 18:11:16 +0900
commit79664cbf54cceb1def42fd6f806e4abf0ba9dcbc (patch)
treed3cd21907fedf8b854980cb9891707f93dfeaade /tools/aapt2/java/JavaClassGenerator.cpp
parentc75561736404c03be88d490ceb4de64e8811bfdf (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 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions