Files
frameworks_base/core/java/android
Jooyung Han c65e303681 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
Merged-In: I3015fc30574c36c18c0d0c9ae7453d33a1349927
Change-Id: I3015fc30574c36c18c0d0c9ae7453d33a1349927
(cherry picked from commit 310edbe3c7)
2021-08-03 01:26:54 +09:00
..
2021-06-03 10:31:15 +02:00
2021-01-21 21:56:08 +00:00
2021-06-14 22:01:46 -07:00
2021-05-26 18:17:40 +08:00
2021-02-11 22:28:43 +00:00
2021-04-22 15:55:30 +01:00
2021-04-25 06:49:42 +00:00
2021-06-14 22:01:46 -07:00