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
2019-08-14 14:07:44 +00:00
2019-04-04 15:15:33 -04:00
2020-11-04 09:45:53 +00:00
2021-04-29 14:09:18 +01:00
2019-11-14 10:00:50 -08: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
2019-05-15 14:05:26 -07:00
2020-11-04 09:45:53 +00:00
2021-03-02 18:38:57 +00:00
2019-04-08 21:57:53 +01: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
2019-11-18 17:58:00 -08:00
2020-01-09 15:08:18 +00:00
2020-01-09 15:08:18 +00:00
2019-04-29 11:47:41 -07:00
2020-01-16 14:58:28 -08:00
2021-03-31 17:03:40 +00:00
2019-11-18 10:51:17 -08:00
2019-06-25 15:34:02 -07:00
2020-11-04 09:45:53 +00:00
2019-04-26 12:22:16 -07:00
2020-01-09 15:08:18 +00:00