Fix crash in NotificationManager when WP is off

Shortcuts will crash if queried when locked. Early opt-out any calls into
LauncherApps when the user is locked.

Bug: 182575662
Test: NotificationManagerServiceTest, ShortcutHelperTest
Change-Id: Icf1c9fb09f3d1732f6d40b75412f833d7952f5d6
4 files changed