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

Commit ecdec18c authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Keun Soo Yim
Browse files

Secure_element: vts: Modify openBasicChannel as per OMAPI standard

CHANNEL_NOT_AVAILABLE should be returned when opening basic channel
is not permitted on the secure element

Test: Test with SIM1 HAL
Bug: 110945797
Merged-In: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c
Change-Id: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c
(cherry picked from commit ec5aa6af)
parent 0b146168
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ TEST_F(SecureElementHidlTest, openBasicChannel) {
        se_->closeChannel(0);
        return;
    }
    EXPECT_EQ(SecureElementStatus::UNSUPPORTED_OPERATION, statusReturned);
    EXPECT_EQ(SecureElementStatus::CHANNEL_NOT_AVAILABLE, statusReturned);
}

/*