summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2017-03-24 13:09:35 -0700
committerYorke Lee <yorkelee@google.com>2017-03-24 13:15:02 -0700
commit64512526a433ef11dd5a633fca977c7334ac49bb (patch)
tree067ac295490eebebca65af171cb4a8cdbdbc431a /tools/aapt2/java/JavaClassGenerator.cpp
parent31426a2e291937c5600380c32531f9387adc40aa (diff)
Only change bounds if new activity is being added to InTask
When going through the setTaskFromInTask code path, there are multiple scenarios where an activity isn't actually added to the task. This change makes it such that the task is only resized if an activity is actually being added to the task make this more semantically similar to setTaskFromReuseOrCreateNewTask, where the task is only resized if it is a newly created task. This is a cherry-pick of I111353c76e623925af21a34e395e3d5eb9282e8f Bug: 35945071 Test: manual - setTaskFromInTask doesn't change bounds if no new activity is added. Change-Id: I4b8330ce775ec46812f6095c170a690fdea77736
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions