Commit Graph

3 Commits

Author SHA1 Message Date
Kohsuke Yatoh
4ba65f0a54 Revert "Add crash detection and recovery."
This partially reverts the following commits:
- commit de417e735e
- commit 45c6231908

Reason for revert: Caused boot time regression.

Bug: 176939176
Bug: 181536798
Test: atest FrameworksServicesTests:UpdatableFontDirTest
Test: atest UpdatableSystemFontTest
Change-Id: Ibb5505018b24caa442fcbefda57aaa674ab9441e
2021-03-02 11:29:01 -08:00
Kohsuke Yatoh
45c6231908 Add test for font crash protection.
This test modifies the installed font file with block_device_writer.
FontManagerService should detect it and remove the modified file.

Bug: 176939176
Test: atest ApkVerityTest
Test: atest UpdatableSystemFontTest
Change-Id: I7da3f2911459619d5d56a94e091b912d67cb27d3
2021-02-04 21:10:21 -08:00
Kohsuke Yatoh
bc7182206b Integration test for updatable system font.
This test:
(1) signs a font file with the test key.
(2) side-loads the test cert to the device under test.
(3) verifies that the signed font file can be installed.

The device must be rootable for doing step (2).

Bug: 176939176
Test: atest UpdatableSystemFontTest
Change-Id: I7a9b614aa3c77589c3495b663cb76056ba657006
2021-02-01 13:57:19 -08:00