Skip to content
Snippets Groups Projects
Commit ea8f0ad5 authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Cleanup: remove fs-verity availability check

fs-verity has been required for years now, so removing the check in this
test.

Bug: 277348426
Test: atest UpdatableSystemFontTest
Change-Id: I1b1a842d15fab2fba44c976340829d01231f88bf
parent 49200de8
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,6 @@ import static android.os.ParcelFileDescriptor.MODE_READ_ONLY;
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.assertThrows;
import static org.junit.Assume.assumeTrue;
import static java.util.concurrent.TimeUnit.SECONDS;
......@@ -36,7 +35,6 @@ import android.graphics.fonts.FontManager;
import android.graphics.fonts.FontStyle;
import android.os.ParcelFileDescriptor;
import android.platform.test.annotations.RootPermissionTest;
import android.security.FileIntegrityManager;
import android.text.FontConfig;
import android.util.Log;
import android.util.Pair;
......@@ -139,10 +137,6 @@ public class UpdatableSystemFontTest {
@Before
public void setUp() throws Exception {
Context context = InstrumentationRegistry.getInstrumentation().getTargetContext();
// Run tests only if updatable system font is enabled.
FileIntegrityManager fim = context.getSystemService(FileIntegrityManager.class);
assumeTrue(fim != null);
assumeTrue(fim.isApkVeritySupported());
mKeyId = insertCert(CERT_PATH);
mFontManager = context.getSystemService(FontManager.class);
expectCommandToSucceed("cmd font clear");
......
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