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
Signal strength: add more checks to signal strength,

so it doesn't fall under the range of poor signal and automatically
assumes a gsm signal, actually checks if all values are true and not
valid then pass it on to lte or gsm. This fixes cases when gsm signal
is not valid and lte is active. When lte is active and shows a really
weak and gsm signal is not avalible due some broken vendor ril or
just running cdma lte and a few others senario creates this issue.

Change-Id: If9c5dc1a969605cd1eeb9218de02a9f8dbbd3ae1

Patchset 6
Merge remote-tracking branch 'temasek/cm-10.1' into cm-10.1