Log backup manager status before back up.

Also make sure the local transport is selected.

This is to investigate b/64203677.

Bug: 64203677
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerBackupTest'

Change-Id: I8e5fd288352badf97d837bf7fd1c671288b59609
diff --git a/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerBackupTest.java b/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerBackupTest.java
index d1532f8..7859784 100644
--- a/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerBackupTest.java
+++ b/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerBackupTest.java
@@ -95,6 +95,14 @@
 
     private void doBackup() throws DeviceNotAvailableException {
         CLog.i("Backing up package android...");
+
+        executeShellCommandWithLog("dumpsys backup");
+
+        assertContainsRegex(
+                "LocalTransport must be selected.",
+                "\\*.*LocalTransport",
+                executeShellCommandWithLog("bmgr list transports"));
+
         assertContainsRegex(
                 "Wiped",
                 executeShellCommandWithLog(