Fix vulnerability that allowed attackers to start arbitary activities

Test: Flashed device and verified dream settings works as expected
Test: Installed APK from bug and verified the dream didn't allow
launching the inappropriate settings activity.
Fixes: 300090204

Merged-In: I6e90e3a0d513dceb7d7f5c59d6807ebe164c5716
Merged-In: I146415ad400827d0a798e27f34f098feb5e96422
Merged-In: I7f2351fc7d9a82778ce21f67018a45ac67c9aaf8
Change-Id: I573040df84bf98a493b39f96c8581e4303206bac
1 file changed