Merge Android 13 QPR2
Bug: 273316506 Merged-In: I7d8585c97ca1e9a960d9725135f99579b0ae5762 Change-Id: I154a78c6b6ad17d1a240ab71b93d9ca500181d7d
This commit is contained in:
@@ -165,6 +165,7 @@ func createJavaDeviceForHostRules() []Rule {
|
||||
javaDeviceForHostProjectsAllowedList := []string{
|
||||
"development/build",
|
||||
"external/guava",
|
||||
"external/kotlinx.coroutines",
|
||||
"external/robolectric-shadows",
|
||||
"external/robolectric",
|
||||
"frameworks/layoutlib",
|
||||
|
12
third_party/zip/writer.go
vendored
12
third_party/zip/writer.go
vendored
@@ -162,9 +162,17 @@ func (w *Writer) Close() error {
|
||||
if records > uint16max {
|
||||
records = uint16max
|
||||
}
|
||||
// Only store uint32max for the size and the offset if they don't fit.
|
||||
// Robolectric currently doesn't support zip64 and fails to find the
|
||||
// offset to the central directory when the number of files in the zip
|
||||
// is larger than 2^16.
|
||||
if size > uint32max {
|
||||
size = uint32max
|
||||
}
|
||||
if offset > uint32max {
|
||||
offset = uint32max
|
||||
}
|
||||
// END ANDROID CHANGE
|
||||
size = uint32max
|
||||
offset = uint32max
|
||||
}
|
||||
|
||||
// write end record
|
||||
|
Reference in New Issue
Block a user