Exclude test case "Enable notifications" as notification icon doesn't show in status bar.

Test case "Enable notifications" expects to display notification icon in status bar,
but there is no interface to enable and disable notification icon in CarStatusBar.

Bug: 114046208
Test: Step 1. Launch CtsVerifier.
      Step 2. Go to "Device Owner Tests", tap the "SET UP DEVICE OWNER" and setup
              the device owner.
      Step 3. Tap the "Check device owner" check whether the device owner setup successfully.
      Step 4. Tap the "LockTask UI" and start the sub-cases: Enable notifications

Change-Id: Ifdb297875e4a9724d71feb0283de1a1fd60a9bbe
Signed-off-by: Bing <bing.deng@intel.com>
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/LockTaskUiTestActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/LockTaskUiTestActivity.java
index b04ec47..30ebc20 100644
--- a/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/LockTaskUiTestActivity.java
+++ b/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/LockTaskUiTestActivity.java
@@ -36,6 +36,7 @@
 import android.content.Context;
 import android.content.Intent;
 import android.content.IntentFilter;
+import android.content.pm.PackageManager;
 import android.database.DataSetObserver;
 import android.os.AsyncTask;
 import android.os.Bundle;
@@ -137,11 +138,13 @@
                 R.string.device_owner_lock_task_ui_system_info_test,
                 R.string.device_owner_lock_task_ui_system_info_test_info));
 
-        adapter.add(createSetLockTaskFeaturesTest(
-                TEST_ID_NOTIFICATIONS,
-                LOCK_TASK_FEATURE_HOME | LOCK_TASK_FEATURE_NOTIFICATIONS,
-                R.string.device_owner_lock_task_ui_notifications_test,
-                R.string.device_owner_lock_task_ui_notifications_test_info));
+        if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) {
+            adapter.add(createSetLockTaskFeaturesTest(
+                    TEST_ID_NOTIFICATIONS,
+                    LOCK_TASK_FEATURE_HOME | LOCK_TASK_FEATURE_NOTIFICATIONS,
+                    R.string.device_owner_lock_task_ui_notifications_test,
+                    R.string.device_owner_lock_task_ui_notifications_test_info));
+        }
 
         adapter.add(createSetLockTaskFeaturesTest(
                 TEST_ID_HOME,