Merge "Fix null pointer in SubscriptionUtil" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
30d0e6c7d7
@@ -187,4 +187,9 @@ public class SubscriptionUtilTest {
|
||||
assertThat(subs).isNotNull();
|
||||
assertThat(subs).hasSize(2);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isInactiveInsertedPSim_nullSubInfo_doesNotCrash() {
|
||||
assertThat(SubscriptionUtil.isInactiveInsertedPSim(null)).isFalse();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user