OSDN Git Service

Avoid marshalling default-valued fields
authorEugene Susla <eugenesusla@google.com>
Mon, 15 May 2017 21:06:32 +0000 (14:06 -0700)
committerEugene Susla <eugenesusla@google.com>
Tue, 16 May 2017 20:38:25 +0000 (13:38 -0700)
commit0eb2b6e5cdae46713d714b7af8da9fae8cf1a461
treea8044bf613ff9a319f41c82f2ca6d6dcc4260ed6
parent957bdf0e61d8d32334c898cf8add572a60feaf5d
Avoid marshalling default-valued fields

Test: 1. AccessibilityNodeInfoTest#testMarshaling
2. Hack the check from the above test to run on each parcel, then turn on
TalkBack and ensure to system crashes and stack traces in logcat
3. A11y CTS: CtsAccessibilityServiceTestCases, CtsAccessibilityTestCases,
CtsUiAutomationTestCases
Bug: 33949542

Change-Id: I2cef9fcef9d6f84334614b0e81c6717484ef3436
core/java/android/view/accessibility/AccessibilityNodeInfo.java
core/java/com/android/internal/util/BitUtils.java