diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-08-29 13:46:29 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-09-06 08:54:33 -0700 |
commit | 56333a872af40ecde7f71192c77393afc0afb1f3 (patch) | |
tree | 5507e7bf0d335023cca6466a94c993f5aa8b9b20 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a8b5d2b5638ac6ec0ae9ab39b410aa304545543b (diff) |
Adding a copy constructor for RemoteViews
Copying a remoteView will not longer mutate the original views
Simplifying bitmap cache and memory measurement for remoteViews. A
remoteView tree will have a common bitmapCache, and hence ite memory
estimate would be same as the total bytes allocated to all the bitmaps.
Bug: 62629395
Test: am instrument -w -e class android.widget.RemoteViewsTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I7ea6ce476f19f425431ed01ef22cc97764626230
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions