Files
frameworks_base/core/java/android/util
Jooyung Han 310edbe3c7 APK signature verification: use FileChannel#size
RandomAccessFile#length returns 0 for block devices while
FileChannel#size returns the correct size.

APK signature verification utils should work with block-device zip files
when Android is running as a guest OS and APK/APEX files are passed via
block devices.

This is a follow-up of 1257f1505c.

Bug: 193592496
Bug: 192366904
Test: FrameworksServicesTests
Change-Id: I3015fc30574c36c18c0d0c9ae7453d33a1349927
2021-07-30 16:43:33 +09:00
..
…
2021-07-19 13:10:23 -07:00
2020-12-10 18:57:17 -08:00
…
2021-04-29 14:09:18 +01:00
…
2021-03-02 18:38:57 +00:00
…
2020-12-24 17:41:19 +00:00
…
2021-03-19 17:31:56 -07:00
2020-12-17 08:16:32 -07:00