[SB Refactor] Remove "wifi" from the wifi table column names.

The logs are already put into the "WifiTableLog", so we don't need to
include "wifi" in all the column names too.

Bug: 238425913
Test: manual: Dumped WifiTableLog and verified new column names
Change-Id: I36555324c6f89a0981aecbd52a84d1273297ea02
This commit is contained in:
Caitlin Shkuratov
2023-01-30 21:23:46 +00:00
parent 245bba607f
commit a2307ed7b1
2 changed files with 4 additions and 4 deletions

View File

@@ -95,7 +95,7 @@ constructor(
.logDiffsForTable(
wifiTableLogBuffer,
columnPrefix = "",
columnName = "isWifiEnabled",
columnName = "isEnabled",
initialValue = wifiManager.isWifiEnabled,
)
.stateIn(
@@ -141,7 +141,7 @@ constructor(
.logDiffsForTable(
wifiTableLogBuffer,
columnPrefix = "",
columnName = "isWifiDefault",
columnName = "isDefault",
initialValue = false,
)
.stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false)
@@ -212,7 +212,7 @@ constructor(
.distinctUntilChanged()
.logDiffsForTable(
wifiTableLogBuffer,
columnPrefix = "wifiNetwork",
columnPrefix = "",
initialValue = WIFI_NETWORK_DEFAULT,
)
// There will be multiple wifi icons in different places that will frequently

View File

@@ -53,4 +53,4 @@ sealed interface WifiIcon : Diffable<WifiIcon> {
}
}
private const val COL_ICON = "wifiIcon"
private const val COL_ICON = "icon"