commit | e9ab162f30e88d5d9f8a9264d83745b8c3f381ad | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Mar 07 13:42:29 2013 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Jun 10 14:16:00 2013 -0700 |
tree | 51ae47bc98746b5caa9be168fc1bfad56dcfa0ba | |
parent | 59fa7e107d43a4ef521413ec0bb7b0c2a5525071 [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