diff options
| author | Nader Jawad <njawad@google.com> | 2018-04-03 16:18:40 -0700 |
|---|---|---|
| committer | Nader Jawad <njawad@google.com> | 2018-04-04 13:23:46 -0700 |
| commit | a2d61be939735686da64823c0c817359f9bd289a (patch) | |
| tree | 53e9f9c29cf43408ca15f24da7441b31fd734090 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 27cc5aa2fdc73e715398eeb41a089da7d9bc7648 (diff) | |
Modified ShapeState#newDrawable to pass a deep copy of ShapeState
Because ShapeState#newDrawable passes a reference to the existing
ShapeState instance, modifications to a single ShapeDrawable instance
affect all instances of the ShapeDrawable obtained through
ShapeState
Bug: 74570674
Test: Tested by flashing a local build onto a Taimen and running
the sample application provided in the corresponding bug to verifying
that both usages of OvalShape within the sample app produce the same
visual result
Change-Id: I10a8aac8eb51d551a13f2b6292f0cd84bff84045
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
