[SB][Mobile] Remove logs for activity in/out visibility.
After reading various mobile bug reports, it seems like the activity logs are just noise that we don't need. Bug: 238425913 Test: verify activity logs aren't in table dump Change-Id: I79151501eedb36a647435259764d1b727b6d6b9d
This commit is contained in:
@@ -221,36 +221,15 @@ constructor(
|
||||
override val activityInVisible: Flow<Boolean> =
|
||||
activity
|
||||
.map { it?.hasActivityIn ?: false }
|
||||
.distinctUntilChanged()
|
||||
.logDiffsForTable(
|
||||
iconInteractor.tableLogBuffer,
|
||||
columnPrefix = "",
|
||||
columnName = "activityInVisible",
|
||||
initialValue = false,
|
||||
)
|
||||
.stateIn(scope, SharingStarted.WhileSubscribed(), false)
|
||||
|
||||
override val activityOutVisible: Flow<Boolean> =
|
||||
activity
|
||||
.map { it?.hasActivityOut ?: false }
|
||||
.distinctUntilChanged()
|
||||
.logDiffsForTable(
|
||||
iconInteractor.tableLogBuffer,
|
||||
columnPrefix = "",
|
||||
columnName = "activityOutVisible",
|
||||
initialValue = false,
|
||||
)
|
||||
.stateIn(scope, SharingStarted.WhileSubscribed(), false)
|
||||
|
||||
override val activityContainerVisible: Flow<Boolean> =
|
||||
activity
|
||||
.map { it != null && (it.hasActivityIn || it.hasActivityOut) }
|
||||
.distinctUntilChanged()
|
||||
.logDiffsForTable(
|
||||
iconInteractor.tableLogBuffer,
|
||||
columnPrefix = "",
|
||||
columnName = "activityContainerVisible",
|
||||
initialValue = false,
|
||||
)
|
||||
.stateIn(scope, SharingStarted.WhileSubscribed(), false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user