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

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