Apply implied flags before notifying listeners. Bug: 15589158 Change-Id: Ie1c7374fa562ff62725361fb0dc8b0d1a6725618