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

Commit fe0e9134 authored by Xin Guan's avatar Xin Guan
Browse files

UsageStats: Attach the dedicated handler thread flag.

Bug: Bug: 302675504
Test: build/trace
Change-Id: I605bb81cb223939731bbc65d073ba0d3bbb3bb8e
parent 10274506
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -153,7 +153,8 @@ public class UsageStatsService extends SystemService implements
            = SystemProperties.getBoolean("persist.debug.time_correction", true);

    private static final boolean USE_DEDICATED_HANDLER_THREAD =
            SystemProperties.getBoolean("persist.debug.use_dedicated_handler_thread", false);
            SystemProperties.getBoolean("persist.debug.use_dedicated_handler_thread",
            Flags.useDedicatedHandlerThread());

    static final boolean DEBUG = false; // Never submit with true
    static final boolean DEBUG_RESPONSE_STATS = DEBUG || Log.isLoggable(TAG, Log.DEBUG);