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

Commit e39d93fc authored by YK Hung's avatar YK Hung Committed by Android (Google) Code Review
Browse files

Merge "Fix failed test CommandContentProviderTest." into main

parents f2fe96de a823af7c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -327,4 +327,12 @@ public class PowerAllowlistBackend {
            return sInstance;
        }
    }

    /** Testing only. Reset the instance to avoid tests affecting each other. */
    @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
    public static void resetInstance() {
        synchronized (PowerAllowlistBackend.class) {
            sInstance = null;
        }
    }
}