Skip to content
Commit 632aa912 authored by Kohsuke Yatoh's avatar Kohsuke Yatoh
Browse files

Check fs-verity status in app process.

- When serializing font map in system-server, record fs-verity status.
- When loading font file lazily in app process,
  - check if fs-verity should be enabled based on serialized font map.
  - if fs-verity should be enabled:
    - verify fs-verity bit of the file.
    - verify font revision from the OTF metadata.
    - verify PostScript name from the OTF metadata.

Bug: 176939176
Test: atest FrameworksCoreTests:TypefaceTest
Change-Id: I679918442094d66a1dbc4b1480b8e6fe26528a06
parent 9441b74b
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