From bddcf1355540e14f5dba2e58b6a7b7ff0324cb65 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 4 Oct 2017 17:02:23 -0700 Subject: [PATCH] Change default jar time to match ziptime Ziptime uses Jan 01 2008, use the same in soong_zip and merge_zips. Test: manual Change-Id: Ie79a2e7864a5ed5a74833caec0a50c25a451859e --- jar/jar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jar/jar.go b/jar/jar.go index 08fa1abda..653e5eedb 100644 --- a/jar/jar.go +++ b/jar/jar.go @@ -31,7 +31,7 @@ const ( ModuleInfoClass = "module-info.class" ) -var DefaultTime = time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC) +var DefaultTime = time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC) var MetaDirExtra = [2]byte{0xca, 0xfe}