Merge "Ignore 'cmd font clear' failure in tearDown()." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dc8bad21d6
@@ -112,7 +112,8 @@ public class UpdatableSystemFontTest {
|
|||||||
|
|
||||||
@After
|
@After
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
expectCommandToSucceed("cmd font clear");
|
// Ignore errors because this may fail if updatable system font is not enabled.
|
||||||
|
runShellCommand("cmd font clear", null);
|
||||||
if (mKeyId != null) {
|
if (mKeyId != null) {
|
||||||
expectCommandToSucceed("mini-keyctl unlink " + mKeyId + " .fs-verity");
|
expectCommandToSucceed("mini-keyctl unlink " + mKeyId + " .fs-verity");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user