Revert "wm: Nullify hardkey function assignments if enabling the navbar"

This reverts commit ffcfb53cfa829d7c20e1778264707c0d705c8b42.
Revert "Updating ActivityIntentResolver so that queryIntents doesn't return protected applications."

This reverts commit 6e783ad2788da6100c2b299ac349d5d39a0334d4.