[RESTRICT AUTOMERGE] Enable bugreport for hawk/userdebug

Test: on a hawk
Bug: 143183993
Change-Id: Ie3add15be38bb3bd996dda0d69b5e9cab16541bc
diff --git a/tests/BugReportApp/src/com/google/android/car/bugreport/Config.java b/tests/BugReportApp/src/com/google/android/car/bugreport/Config.java
index 7e20cca..70f65bf 100644
--- a/tests/BugReportApp/src/com/google/android/car/bugreport/Config.java
+++ b/tests/BugReportApp/src/com/google/android/car/bugreport/Config.java
@@ -40,6 +40,8 @@
 final class Config {
     private static final String TAG = Config.class.getSimpleName();
 
+    private static final String HAWK = "hawk";
+
     /**
      * Namespace for all Android Automotive related features.
      *
@@ -114,6 +116,10 @@
             Log.d(TAG, "Setting upload dest to GCS ENABLE_AUTO_UPLOAD is true");
             return true;
         }
+        // TODO(b/146214182): Enable uploading to GCS if the device is hawk.
+        if (HAWK.equals(Build.DEVICE) && Build.IS_DEBUGGABLE) {
+            return true;
+        }
         // NOTE: enable it only for userdebug builds, unless it's force enabled using a system
         //       property.
         return UPLOAD_DESTINATION_GCS.equals(getUploadDestination()) && Build.IS_DEBUGGABLE;