Skip to content
Commit ed7fc797 authored by Shengsong Tan's avatar Shengsong Tan
Browse files

Check is leaf task before remove its child containers

This CL change the leaf check in removeIfPossilbe().

Previously, after removeImmediately() get called, all child
containers will be removed, then isLeafTask() will always return
true due to no more child for current entity.

Bug: 177858817
Bug: 206556390
Test: CTS
Change-Id: Id645fe58442662bb26c98cba488e8d9e684ab4bc
parent f2ec759e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment