ad9dc5b6f03891852d48dc9ef3ab6bf8005a77a3
This patch fixes a regression introduced by commitc3b3c5345afor logging NetworkEvents when lingering and unlingering a network. Commitc3b3c5345aremoved an overloaded constructor for the NetworkEvent class, which caused NetworkEvents with event type of LINGER or UNLINGER logged in ConnectivityService to have incorrect event types (set to the network id instead) and incorrect duration (set as the event type instead). Bug: 34901696 Test: runtest frameworks-net Change-Id: Iab97a58ca805413617c8e8b4553404625a820ceb
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%