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

Commit 74e63008 authored by Eric Biggers's avatar Eric Biggers Committed by Gerrit Code Review
Browse files

Merge changes I2b06e477,I0ef2862f into android15-tests-dev

* changes:
  Remove the used_slots assertion from VtsHalWeaverTargetTest
  Update comment about Weaver slot assertion
parents 0a93bdbd 74edc4de
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -220,10 +220,10 @@ void WeaverTest::FindFreeSlots() {
            used_slots.insert(slot);
        }
    }
    // Starting in Android 14, the system will always use at least one Weaver slot if Weaver is
    // supported at all.  Make sure we saw at least one.
    ASSERT_FALSE(used_slots.empty())
            << "Could not determine which Weaver slots are in use by the system";

    // We should assert !used_slots.empty() here, but that can't be done yet due to
    // config_disableWeaverOnUnsecuredUsers being supported.  The value of that option is not
    // accessible from here, so we have to assume it might be set to true.

    // Find the first free slot.
    int found = 0;