commit | a5064626de3e46eed88534f728b01d17d2ae99b7 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Mar 07 13:42:29 2013 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Mar 07 13:44:59 2013 -0800 |
tree | b61e01e4b16956b90f119c516e6309dec41b7a05 | |
parent | 4c8c35d06ce6a673c6e015b809f94da0083cd4cc [diff] |
init: prevent action being added to the action_queue twice Property triggers may cause an action to be queued twice, resulting in a loop in the action queue. Keep actions that are not on the queue in the list_empty state (act->qlist->next == act->qlist), and only add them to the list if they are in that state. Bug: 8335133 Change-Id: I3a3ec18176cf19cbaa3a45220a03c7560eacfe79