diff options
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/StatusBarPipelineModule.kt b/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/StatusBarPipelineModule.kt index 5806fe7d2e43..3811d6b91a52 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/StatusBarPipelineModule.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/StatusBarPipelineModule.kt @@ -276,7 +276,7 @@ abstract class StatusBarPipelineModule { @SysUISingleton @OemSatelliteInputLog fun provideOemSatelliteInputLog(factory: LogBufferFactory): LogBuffer { - return factory.create("DeviceBasedSatelliteInputLog", 32) + return factory.create("DeviceBasedSatelliteInputLog", 150) } const val FIRST_MOBILE_SUB_SHOWING_NETWORK_TYPE_ICON = diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/DeviceBasedSatelliteRepositoryImpl.kt b/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/DeviceBasedSatelliteRepositoryImpl.kt index 3efee328a6d8..788375d7bdd2 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/DeviceBasedSatelliteRepositoryImpl.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/DeviceBasedSatelliteRepositoryImpl.kt @@ -243,11 +243,17 @@ constructor( try { sm.registerForNtnSignalStrengthChanged(bgDispatcher.asExecutor(), cb) registered = true + logBuffer.i { "Registered for signal strength successfully" } } catch (e: Exception) { logBuffer.e("error registering for signal strength", e) } - awaitClose { if (registered) sm.unregisterForNtnSignalStrengthChanged(cb) } + awaitClose { + if (registered) { + sm.unregisterForNtnSignalStrengthChanged(cb) + logBuffer.i { "Unregistered for signal strength successfully" } + } + } } .flowOn(bgDispatcher) |