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

Commit e4268004 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Make our tests large heap to workaround memory leak

Only a workaround, but should unblock our team.

Test: tradefed.sh run commandAndExit WmTests --include-annotation android.platform.test.annotations.Presubmit --exclude-annotation androidx.test.filters.FlakyTest
Bug: 123984854
Change-Id: I184e488938550290670ebe93badcdcca49e2bd4b
parent 79282ebc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -37,8 +37,10 @@
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.REORDER_TASKS" />

    <!-- TODO: Remove largeHeap hack when memory leak is fixed (b/123984854) -->
    <application android:debuggable="true"
                 android:testOnly="true">
                 android:testOnly="true"
                 android:largeHeap="true">
        <uses-library android:name="android.test.mock" android:required="true" />

        <activity android:name="com.android.server.wm.TaskStackChangedListenerTest$ActivityA" />