summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-12-01 22:14:24 -0800
committerBryce Lee <brycelee@google.com>2017-12-05 20:57:10 -0800
commit4c9a597fc10165b41cb1ffcd575ea800c23d6448 (patch)
tree5e92fa4bd29d0b12836143b1f71c8fe35306e2cd /tools/aapt2/java/JavaClassGenerator.cpp
parentd52efa56adaca0bc70fb72082c7c663adcb669cc (diff)
Provide start parameters via setters on ActivityStarter.
A number of arguments are sent to ActivityStarter when starting an activity. Not all parameters are relevant to each invocation and many are later modified as the starter prepares to start the activity. This can lead to callers providing default values for fields they do not care about. This change now sets parameters individually on ActivityStarter, since it is a single use item. Differing behavior, such as waiting for the start result, are captured in this manner. Aditionally, clients also now call execute to start the activity. Bug: 64750076 Test: atest FrameworksServicesTests:ActivityStartControllerTests Test: atest FrameworksServicesTests:ActivityStarterTests Change-Id: Ifc88ae6547bc9155527c31709bef1784c6406bda
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions