Use specific remote config for slow database notification.

This commit is contained in:
Greyson Parrelli
2026-05-30 14:28:41 -04:00
committed by Alex Hart
parent f5f5bf0a67
commit 843b656fb6
3 changed files with 16 additions and 3 deletions
@@ -511,8 +511,9 @@ public class ApplicationContext extends Application implements AppForegroundObse
private void initializeTracer() {
if (RemoteConfig.internalUser()) {
Tracer.getInstance().setMaxBufferSize(35_000);
SQLiteDatabase.setSlowWriteLoggingEnabled(true);
}
SQLiteDatabase.setSlowWriteLoggingEnabled(RemoteConfig.slowDatabaseNotifications());
}
private void initializePeriodicTasks() {