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

Commit 1981f429 authored by Kurt Nelson's avatar Kurt Nelson
Browse files

Use annotation instead of comment

Test: none
Bug: none
Change-Id: I723fba865116a203147dd5f2a6343b2cb29c65a2
parent 1efd4621
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import android.util.Singleton;
import android.util.Slog;
import android.view.IWindowManager;

import com.android.internal.annotations.GuardedBy;
import com.android.internal.os.RuntimeInit;
import com.android.internal.util.FastPrintWriter;
import com.android.internal.util.HexDump;
@@ -2247,9 +2248,8 @@ public final class StrictMode {
        ((AndroidBlockGuardPolicy) policy).onWriteToDisk();
    }

    // Guarded by StrictMode.class
    private static final HashMap<Class, Integer> sExpectedActivityInstanceCount =
            new HashMap<Class, Integer>();
    @GuardedBy("StrictMode.class")
    private static final HashMap<Class, Integer> sExpectedActivityInstanceCount = new HashMap<>();

    /**
     * Returns an object that is used to track instances of activites. The activity should store a