Merge "Check navigation mode before running PreferredActivitiesTestCases" into rvc-dev am: c4d871e24f

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/12034688

Change-Id: Id3bc0bc4acbc2f709bfbac34317fb7c109771f27