(no-ticket) Add waiting state to submitsqueue.

Change-Id: Ifb6877ec99359010ee17767312e118f503f5525f
Merge "(no-ticket) Add waiting state to submitsqueue."