commit | 55882575de117ffb73cfc1bb30f1fc2fb95f1cd0 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Wed Jun 03 10:44:24 2020 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Jun 03 13:01:01 2020 +0800 |
tree | 3b2aadf9b6f6aa0d9e5eb1da1d7f9e4e4db27bd5 | |
parent | fdcd5625291d8edeeeaee8039223db65d2eccdf1 [diff] |
Update extra info before registering The extra info is taken into NetworkMonitor from while creating it. The NetworkMonitor is created when a new agent is registered but the extra info is not available at that time. Make sure the field is set in the NetworkInfo when registering. Bug: 156173829 Test: adb shell dumpsys network and check the apn in the extra info shown correctly Test: atest FrameworkNetTests Change-Id: Ieaad8cbf1a28af3b97c7f98f74358e417fcad661