OSDN Git Service

Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle
authorDianne Hackborn <hackbod@google.com>
Thu, 13 Oct 2016 00:20:07 +0000 (17:20 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 13 Oct 2016 01:17:58 +0000 (18:17 -0700)
commit851ec49de73913547a51476e9c80cccfd7c15572
treed7b83c3c48bf94206da2342db60166d77f825ce8
parent5c8fc588508a5f4ecf6f19a9b014e6462eb2db23
Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle

We now recursively generate new Bundle objects if we need to
do any stripping.

Change-Id: I4ca7896a0771c25264591ae7c79df85816d630d4
core/java/android/content/Intent.java
core/java/android/os/Bundle.java