summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ying Xu <yinxu@google.com> 2022-08-17 09:35:36 -0700
committer Ying Xu <yinxu@google.com> 2022-08-25 15:19:29 +0000
commitcbe3f068f0c1d7c0bd1fab101cbb6a091f9ca780 (patch)
treea775ebb34d7d3c299deabb75ebe56602734fe2f5 /api/api.go
parent252018cf716704a451c94d626b25249bee09adf5 (diff)
Fix the SetConnectivityStatus callback
SetConnectivityStatus callback should only update the InternetTile when there is no default network because this callback doesn't contain the updated the information of the WiFi or Cellular. When there is no default network, InternetTile should show the globe icon so SetConnectivityStatus should trigger the tile refresh. When there is default network, InternetTile should be updated by the corresponding callback (setMobileDataIndicators or setWifiIndicators), while SetConnectivityStatus is supposed to only update the mNoDefaultNetwork field. This CL also added some QSlogs specifically for the InternetTile. Cherrypicked from ag/19659272 Bug: 241655191 Test: Unit test, manual test Change-Id: I6560e016ee1663779b3c59d45520ef98507cad77 Merged-In: I6560e016ee1663779b3c59d45520ef98507cad77
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions