Skip to content

Commit 0a95cf2

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
fix: type-aware null markers for opaque fields in JavaWireFormat
java_extractor now emits specific write methods (bundle, typed_object, byte_array, blob, binder) instead of generic opaque. The codegen uses these for correct null markers: - bundle: int32(-1) — writeBundle null protocol - typed_object: int32(0) — writeTypedObject null protocol - others: int32(0) with length-based skip on unmarshal Also fixes primitive fields with unresolvable conditions (e.g., bool guarded by hasGainmap()) being forced to typed_object to prevent accessing non-existent struct fields.
1 parent 3cbf639 commit 0a95cf2

796 files changed

Lines changed: 6552 additions & 6544 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/accessibilityservice/accessibilitygestureevent.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/accessibilityservice/accessibilityserviceinfo.go

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/accessibilityservice/types/accessibilitygestureevent.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/accessibilityservice/types/accessibilityserviceinfo.go

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/accounts/authenticatordescription.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/admin/devicepolicydrawableresource.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/admin/devicepolicystate.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/admin/devicepolicystringresource.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/admin/dnsevent.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/admin/enforcingadmin.go

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)