Skip to content

Commit 8ba06fa

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
fix: write null marker for opaque fields in JavaWireFormat marshal
Java's writeToParcel always writes Bundle/Parcelable fields even when null (as int32(-1)). Our marshal was skipping them entirely, causing Android to read past the data and fail with "Bundle length not aligned". Verified E2E on real phone: Location roundtrip through Android's LocationManagerService produces exact field values.
1 parent c56f806 commit 8ba06fa

699 files changed

Lines changed: 2240 additions & 1 deletion

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: 1 addition & 0 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: 4 additions & 0 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: 1 addition & 0 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: 4 additions & 0 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: 1 addition & 0 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: 1 addition & 0 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: 1 addition & 0 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: 1 addition & 0 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 & 0 deletions
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: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)