Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac15bb87 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Wifi] Remove activity logs from table log.

We never get any bugs related to the activity indicators being wrong,
and they really clutter up the bug report.

Bug: NONE
Flag: NONE (log changes only)
Test: dump WifiTableLog and verify there's no activity logs (even if the
config is on)

Change-Id: Ib58dfa2a07043adc1beb7d55ce2049e73c445ad2
parent 8e1ad154
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -322,11 +322,6 @@ constructor(
                wifiManager.registerTrafficStateCallback(mainExecutor, callback)
                awaitClose { wifiManager.unregisterTrafficStateCallback(callback) }
            }
            .logDiffsForTable(
                tableLogger,
                columnPrefix = ACTIVITY_PREFIX,
                initialValue = ACTIVITY_DEFAULT,
            )
            .stateIn(
                scope,
                started = SharingStarted.WhileSubscribed(),
@@ -441,7 +436,6 @@ constructor(

        private const val WIFI_STATE_DEFAULT = WifiManager.WIFI_STATE_DISABLED

        private const val ACTIVITY_PREFIX = "wifiActivity"
        val ACTIVITY_DEFAULT = DataActivityModel(hasActivityIn = false, hasActivityOut = false)

        private const val TAG = "WifiTrackerLibInputLog"