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

Commit b5d6c51a authored by Varun Shah's avatar Varun Shah
Browse files

Remove the ability to enable the sync logger.

The SyncLogger class will now always default to its own
impl rather than being able to be configured to use the
RotatingFileLogger class.

Bug: 381957278
Change-Id: I6df0acc4741786cbbb7ac60093b983f519c4d2a3
Test: n/a
Flag: EXEMPT bugfix
parent 6f7d907f
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -73,6 +73,8 @@ public class SyncLogger {
     */
     */
    public static synchronized SyncLogger getInstance() {
    public static synchronized SyncLogger getInstance() {
        if (sInstance == null) {
        if (sInstance == null) {
            // Always default to the sync logger for now (see b/381957278#comment8).
            /*
            final String flag = SystemProperties.get("debug.synclog");
            final String flag = SystemProperties.get("debug.synclog");
            final boolean enable =
            final boolean enable =
                    (Build.IS_DEBUGGABLE
                    (Build.IS_DEBUGGABLE
@@ -83,6 +85,8 @@ public class SyncLogger {
            } else {
            } else {
                sInstance = new SyncLogger();
                sInstance = new SyncLogger();
            }
            }
            */
            sInstance = new SyncLogger();
        }
        }
        return sInstance;
        return sInstance;
    }
    }