Add subtypes to tron logging for Wifi toggles.
For ACTION_WIFI_CONNECT, added subtype to specify whether user is connecting to saved network. For ACTION_WIFI_OFF, added subtype to specify whether user was connected to a network at the time. Bug: 32371451 Change-Id: I1d4445bda2fbeb062831e6f858ccc711bff65105 Fixes: 32371451 Test: Verify logs by running: adb logcat -b events | egrep '(sysui_|notification_)'
This commit is contained in:
@@ -130,17 +130,17 @@ public class WifiSettingsForSetupWizard extends WifiSettings {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void connect(final WifiConfiguration config) {
|
||||
protected void connect(final WifiConfiguration config, boolean isSavedNetwork) {
|
||||
WifiSetupActivity activity = (WifiSetupActivity) getActivity();
|
||||
activity.networkSelected();
|
||||
super.connect(config);
|
||||
super.connect(config, isSavedNetwork);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void connect(final int networkId) {
|
||||
protected void connect(final int networkId, boolean isSavedNetwork) {
|
||||
WifiSetupActivity activity = (WifiSetupActivity) getActivity();
|
||||
activity.networkSelected();
|
||||
super.connect(networkId);
|
||||
super.connect(networkId, isSavedNetwork);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user