summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2019-11-22 12:46:32 +0800
committerlucaslin <lucaslin@google.com>2019-11-22 12:46:32 +0800
commitccab250a55a40ac976f706a9376700bc7f068b44 (patch)
treebf173424ef4b6fe43e4448860bf09dd41e0eff1f /tools/aapt2/java/JavaClassGenerator.cpp
parentcf46823faa46f6cfa6d81172a8beb345df523190 (diff)
Fix title of PRIVATE_DNS_BROKEN notification when connecting VPN
NetworkNotificationManager will only get the first transport type from the NetworkCapabilities of network, and if the device connects to a VPN and its underlying network is wifi, then the first finding transport type will be TRANSPORT_WIFI. So, if the private DNS is broken when device connected to VPN, NetworkNotificationManager will try to get the SSID for the title of notification but failed. For this kind of case, the title of PRIVATE_DNS_BROKEN notification will show "null has no internet access". Bug: 143340533 Test: 1. Build pass. 2. Connect to VPN and let private DNS to be broken, check title of PRIVATE_DNS_BROKEN notification. 3. atest FrameworksNetTests Change-Id: I1ed018cc8774d4fce4b94854f8e8703a28818463
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions