summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Seigo Nonaka <nona@google.com> 2022-10-20 17:15:09 +0900
committer Seigo Nonaka <nona@google.com> 2022-11-22 09:12:39 +0000
commitab5439531a2f695e5b6f1200976b38de66577eb7 (patch)
tree47b57539baa73de9e4118a28ae49e7391490d6a8 /libs/androidfw/AssetsProvider.cpp
parent83df98e8d3e7b5d18ea593206f6acb10ba20b72d (diff)
Check signature of updated font during boot
config_fontManagerServiceCert is a new config symbol that has a list of der certificates to be used for font file verification. After this change, the signature is stored next to the font file and it is verified with the stored signature on boot time. If the signature file is missing, e.g. due to device update, the updated font file is discarded. Bug: 242892591 Test: atest GtsFontHostTestCases Test: atest UpdatableFontDirTest Test: atest UpdatableSystemFontTest Test: atest FontManagerTest Test: Manually verified the font files can be updated Change-Id: Ia4a6720b863163be523b845b883915185cee656c Merged-In: Ia4a6720b863163be523b845b883915185cee656c
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions