Jooyung Han
1257f1505c
ZipUtils: use FileChannel#size
...
RandomAccessFile#length returns 0 for block devices while
FileChannel#size returns the correct size. ZipUtils should work with
block-device zip files when Android is running as a guest OS and
APK/APEX files are passed via block devices.
Bug: 193592496
Bug: 192366904
Test: FrameworksServicesTests
Change-Id: I6472e2a9051b92a5a778b4990b8e681492985d1a
2021-07-14 13:58:55 +09:00
..
2021-07-14 13:58:55 +09:00
2020-12-08 08:36:27 -07:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-05-20 23:20:42 +00:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-01-27 14:41:16 -08:00
2020-01-09 15:08:18 +00:00
2020-01-15 16:15:41 -08:00
2020-11-04 09:45:53 +00:00
2021-01-14 15:45:53 +08:00
2020-11-04 09:45:53 +00:00
2021-04-29 14:09:18 +01:00
2020-11-04 09:45:53 +00:00
2020-03-23 17:19:05 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2019-12-16 13:27:32 -08:00
2020-09-14 10:00:02 -06:00
2020-09-14 10:00:02 -06:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-11-04 09:45:53 +00:00
2021-03-02 18:38:57 +00:00
2020-11-04 09:45:53 +00:00
2020-12-24 17:41:19 +00:00
2020-01-09 15:08:18 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-01-31 19:52:52 +08:00
2020-01-09 15:08:18 +00:00
2020-11-04 09:45:53 +00:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2020-01-16 14:58:28 -08:00
2021-03-31 17:03:40 +00:00
2020-11-04 09:45:53 +00:00
2020-01-09 15:08:18 +00:00