am a54f2b16: am 8bed4843: am d720dedb: Merge "Clear the previous states before setting the new app visibility"

* commit 'a54f2b164a4e162069709fd1f3b3fb7ff08dcd47':
  Clear the previous states before setting the new app visibility