Skip to content
Commit fcf7bf5c authored by mrulhania's avatar mrulhania
Browse files

Fix Assumption

Assume throws `org.junit.AssumptionViolatedException`
to fail a test with assumption failure, when the
assume statement is inside `runWithShellPermissionIdentity`,
the exception is re-thrown as RuntimeException.

Fix: 302183103
Test: atest SensorBlockedBannerTest#testCardClickOpenPrivacyControls --iterations 5
Change-Id: I6de0f7e4876bac240a3e11424f84be6f400ee3ad
parent 0aa93079
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment