diff options
author | Mihai Popa <popam@google.com> | 2018-04-30 19:08:57 +0100 |
---|---|---|
committer | Mihai Popa <popam@google.com> | 2018-05-02 10:30:40 +0000 |
commit | f298068a7fd9e8249eca86d74ed4bcf5a6410582 (patch) | |
tree | 3e05d2b742f31d99eaa7d07f3ea0571d127cd6cc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 227034b863d6720a3fb1438efa52fd6a8fcf4c09 (diff) |
[Magnifier-43] Refactor to remove code duplication
Since Ic5b5f6ca687db8b5d842f0ab20eac70f1fd2f85e, the magnifier can be
the child of a diffent surface than the one its content is copied from.
This initially led to much code duplication accross different methods,
making the code quite difficult to understand. This CL performs a small
refactoring, removing some of the TODOs and making the code a bit
cleaner.
Bug: 78876353
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ifa26f94ba2e4983446f058f016af6010c1017ea7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions