OSDN Git Service

Make a11y node info parceling more robust
authorPhil Weaver <pweaver@google.com>
Fri, 7 Apr 2017 00:40:51 +0000 (17:40 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 24 May 2017 17:12:00 +0000 (17:12 +0000)
commitaa4edfe65d778bef89e47876db09cdd8f7462832
tree9b5dbf715741051c1e4ff8a3b98045377c8c1b69
parentdee7c41e2d813ab3fae9e10230af897ba7749dad
Make a11y node info parceling more robust

Fix a bug where a malformed Parceled representation
of an AccessibilityNodeInfo could be used to mess with
Bundles as they get reparceled.

Bug: 36491278
Test: Verified that POC no longer works, a11y cts still passes.
Change-Id: I10f24747e3ab87d77cd1deba56db4526e3aa5441
(cherry picked from commit 687bb44b437f7bb24dd3dddf072c2f646308e2ca)
(cherry picked from commit 487d8697333b1e7784394b9cd96cb590b047c513)
core/java/android/view/accessibility/AccessibilityNodeInfo.java