Prompt for mode setting only if setting is available

Fix check to abort if either option is unavailable or activity not
present instead of both.

Bug: 31859802
Change-Id: I34a93b24360c8a41fe84e77a7e552f1d7aae9472
(cherry picked from commit 85b2905c1d551aeb8d3738f612dcd55cbf375b42)
1 file changed