commit | b00181e2746c036d055ef24b498957f2c888ce67 | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Mon Nov 16 12:09:17 2020 +0000 |
committer | Victor Chang <vichang@google.com> | Mon Nov 23 23:43:59 2020 +0000 |
tree | 031c7d668812c8966c78dcc94834e2243520319c | |
parent | 72166e06b6642d2a6770f79c9648dffe9bfc09b3 [diff] |
Reduce memory usage by avoiding clones of ZoneInfoData objects ZoneInfoData has become immutable and clones are not neccessary. getTransitions() returns a clone of array as the @UnsupportedAppUsage in ZoneInfo allows app to alter its internal values. Remove the createCopy() @IntraCoreApi Bug: 139480281 Test: atest CtsLibcoreTestCases Change-Id: Icb4bb4cefe1595eb65e47a3a0bc9f1b2f640e339