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

Commit d56a6a70 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "profcollect: Rename trace_once to trace_system" into main am: 40d5af2f

parents ea4ba2aa 40d5af2f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -287,7 +287,7 @@ public final class ProfcollectForwardingService extends SystemService {
        if (randomNum < traceFrequency) {
            BackgroundThread.get().getThreadHandler().post(() -> {
                try {
                    mIProfcollect.trace_once("applaunch");
                    mIProfcollect.trace_system("applaunch");
                } catch (RemoteException e) {
                    Log.e(LOG_TAG, "Failed to initiate trace: " + e.getMessage());
                }
@@ -327,7 +327,7 @@ public final class ProfcollectForwardingService extends SystemService {
            // Dex2oat could take a while before it starts. Add a short delay before start tracing.
            BackgroundThread.get().getThreadHandler().postDelayed(() -> {
                try {
                    mIProfcollect.trace_once("dex2oat");
                    mIProfcollect.trace_system("dex2oat");
                } catch (RemoteException e) {
                    Log.e(LOG_TAG, "Failed to initiate trace: " + e.getMessage());
                }
@@ -404,7 +404,7 @@ public final class ProfcollectForwardingService extends SystemService {
                String traceTag = traceInitialization ? "camera_init" : "camera";
                BackgroundThread.get().getThreadHandler().postDelayed(() -> {
                    try {
                        mIProfcollect.trace_once(traceTag);
                        mIProfcollect.trace_system(traceTag);
                    } catch (RemoteException e) {
                        Log.e(LOG_TAG, "Failed to initiate trace: " + e.getMessage());
                    }