OSDN Git Service

Fix wrap property creation when truncating.
authorChristopher Ferris <cferris@google.com>
Thu, 29 Jan 2015 01:56:32 +0000 (17:56 -0800)
committerChristopher Ferris <cferris@google.com>
Thu, 29 Jan 2015 23:54:40 +0000 (15:54 -0800)
commit95b1048d390e79029978efd4654c05816722e17f
tree1bba82a9b58c83dabc4eaed7e4e19540ebaf66f8
parentd24047dcfed3fb7c913a0a5950c9f48ce3d49b9e
Fix wrap property creation when truncating.

If a property name gets truncated, make sure it doesn't end in a '.'
since that makes the name illegal.

Bug: 19196358
Bug: https://code.google.com/p/android/issues/detail?id=82947

(cherry picked from commit e32df45fe1a8cb7286bfdad392a0d36e0ddcf8e7)

Change-Id: I126a40ffae76ee6a06926e770ca015fb063a334b
core/java/com/android/internal/os/ZygoteConnection.java