summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Junyu Lai <junyulai@google.com> 2021-12-16 02:07:21 +0000
committer Junyu Lai <junyulai@google.com> 2021-12-21 10:05:36 +0000
commitba518b8bd2643f13611aeadc901e55677495274f (patch)
treea183f123e4a4366dffea2ca2d752d07d4638f149 /cmds/bootanimation/BootAnimation.cpp
parent6ff6240694dcd8308cb3eaea55080b5806d4de64 (diff)
[MS12.1] Support NetworkTemplate builder
In current design, NeworkTemplate has a lot of buildTemplate* functions to create various type of templates. These functions do not have any flexibility to add any dimension. Thus, if there is a need to add a dimension, the typical ways are: 1. Add one parameter to the buildTemplate* function and change all callers. 2. Use the NetworkTemplate constructors directly. And add one more parameter if it doesn't fulfill the needs. These codes are painful to maintain in the future if they are exposed as system api since they are lack of flexibility. Thus, introduce a builder class to NetworkTemplate to address this problem. Test: atest NetworkTemplateTest Bug: 204830222 Change-Id: I49fab236bac392563b1290d69573ad1415fda734
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions