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

Commit 373818ee authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Revert "StrictMode: now in more system server threads."

This reverts commit 0721861d.
parent e2136770
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -85,7 +85,6 @@ import android.os.PowerManager;
import android.os.Process;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.StrictMode;
import android.os.SystemClock;
import android.os.SystemProperties;
import android.os.TokenWatcher;
@@ -921,11 +920,6 @@ public class WindowManagerService extends IWindowManager.Stub
                notifyAll();
            }

            // For debug builds, log event loop stalls to dropbox for analysis.
            if (StrictMode.conditionallyEnableDebugLogging()) {
                Slog.i(TAG, "Enabled StrictMode logging for WMThread's Looper");
            }

            Looper.loop();
        }
    }
@@ -963,11 +957,6 @@ public class WindowManagerService extends IWindowManager.Stub
                notifyAll();
            }

            // For debug builds, log event loop stalls to dropbox for analysis.
            if (StrictMode.conditionallyEnableDebugLogging()) {
                Slog.i(TAG, "Enabled StrictMode for PolicyThread's Looper");
            }

            Looper.loop();
        }
    }
+0 −5
Original line number Diff line number Diff line
@@ -1334,11 +1334,6 @@ public final class ActivityManagerService extends ActivityManagerNative
                }
            }
            // For debug builds, log event loop stalls to dropbox for analysis.
            if (StrictMode.conditionallyEnableDebugLogging()) {
                Slog.i(TAG, "Enabled StrictMode logging for AThread's Looper");
            }
            Looper.loop();
        }
    }