Migrate WifiDialog2 to Kotlin
Bug: 297036035 Test: unit test Test: manual - on wifi dialog Change-Id: I5bcd636705b8514fe3fd784ef380f55e079c6ce7
This commit is contained in:
@@ -170,7 +170,7 @@ public class WifiDialogActivity extends ObservableActivity implements WifiDialog
|
||||
createDialogWithSuwTheme();
|
||||
} else {
|
||||
if (mIsWifiTrackerLib) {
|
||||
mDialog2 = WifiDialog2.createModal(this, this,
|
||||
mDialog2 = new WifiDialog2(this, this,
|
||||
mNetworkDetailsTracker.getWifiEntry(), WifiConfigUiBase2.MODE_CONNECT);
|
||||
} else {
|
||||
mDialog = WifiDialog.createModal(
|
||||
@@ -201,7 +201,7 @@ public class WifiDialogActivity extends ObservableActivity implements WifiDialog
|
||||
? R.style.SuwAlertDialogThemeCompat_DayNight :
|
||||
R.style.SuwAlertDialogThemeCompat_Light;
|
||||
if (mIsWifiTrackerLib) {
|
||||
mDialog2 = WifiDialog2.createModal(this, this,
|
||||
mDialog2 = new WifiDialog2(this, this,
|
||||
mNetworkDetailsTracker.getWifiEntry(),
|
||||
WifiConfigUiBase2.MODE_CONNECT, targetStyle);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user