diff options
author | Wale Ogunwale <ogunwale@google.com> | 2017-02-01 15:33:08 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2017-02-02 06:48:56 -0800 |
commit | a0cd15e1a035dd43a2d68d1bf3c6a2a368cb6f2b (patch) | |
tree | 9c2367f114e174ca2a30d5443e6e266c53c0ee09 /cmds/bootanimation/BootAnimation.cpp | |
parent | f9295bcc249f5dc8da8fb85a4b108a0b8f729e2f (diff) |
Addition separation of adding vs. reparenting activity
- Removed method ActivityRecord.setTask which did only half of what
is needed when adding a task and also only did half of what is needed
for reparenting. Previous callers now need to call either
ActivityRecord.reparent() to reparent and activity or
TaskRecord.addActivityAtIndex() to add an activity to a task.
- Fixed some NPE that resulted from the above change.
Test: adb shell am instrument -w -e class
com.google.android.setupwizard.tests.activity.SetupWizardExitActivityTest
com.google.android.setupwizard.tests.activity
Bug: 34179495
Change-Id: Ic69487f51d1bd139825e6a8054a49ce143065a57
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions