Revert "Revert "Ensure install-during-restore is like install-then-restore""

This reverts commit 033dfc63ac5e2462c3786b700edf372f45efc713.
Revert "Revert "Validate restored file paths against their nominal domain""

This reverts commit e5c4f9d8b1d480b97fa0f33508be75109bebffab.
Kill floating activities running in the same thread when tapping outside
This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Change-Id: I3c51eafdcee7032fa90876411da3ff1eae0106c3