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

Commit 45e6b20e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add better debug logs in Latency Tracker." into main

parents 6bc95649 b033e8e6
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -435,9 +435,11 @@ public class LatencyTracker {
    public void startListeningForLatencyTrackerConfigChanges() {
        final Context context = ActivityThread.currentApplication();
        if (context == null) {
            if (DEBUG) {
                Log.d(TAG, "No application for package: " + ActivityThread.currentPackageName());
            }
            Log.e(
                    TAG,
                    String.format(
                            "No application for package: %s. Latency Tracker Disabled",
                            ActivityThread.currentPackageName()));
            return;
        }
        if (context.checkCallingOrSelfPermission(READ_DEVICE_CONFIG) != PERMISSION_GRANTED) {