Update indirectActivityLaunch to fix flake and work on luna/solios

The BalService delay is too long for wear, the service may not be able
to send broadcasts after a few seconds. Tested on solios and cuttlefish.

Also, changes RequestPinShortcutActivity to wait for foreground process
state before calling requestPinShortcut, to avoid flaky exception.

Bug: 445649158
Test: local and on abtd
Flag: EXEMPT bugfix
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:297883386ea8e4e7f4e65c9656d1b3ee0c71ef4f
Merged-In: Ideb473c5ace0100a35c75da646de369cf5010466
Change-Id: Ideb473c5ace0100a35c75da646de369cf5010466
2 files changed