Add half sheet apk to nearby

Test: start activity show half sheet half sheet can also send signal
back to nearby service
Bug: 202335820

Change-Id: I663ad2ee43a0df35a063472af2835087719828c0
diff --git a/nearby/halfsheet/Android.bp b/nearby/halfsheet/Android.bp
new file mode 100644
index 0000000..a1a90fb
--- /dev/null
+++ b/nearby/halfsheet/Android.bp
@@ -0,0 +1,51 @@
+// Copyright (C) 2021 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+java_defaults {
+    name: "HalfSheetDefaults",
+    srcs: ["src/**/*.java"],
+    sdk_version: "module_current",
+    min_sdk_version: "current",
+    target_sdk_version: "current",
+    manifest: "AndroidManifest.xml",
+    plugins: ["java_api_finder"],
+    jarjar_rules: ":nearby-jarjar-rules",
+    libs: [
+        "framework-nearby-pre-jarjar",
+        "nearby-service-string",
+      ],
+    static_libs: [
+        "androidx.annotation_annotation"
+    ],
+    lint: { strict_updatability_linting: true }
+}
+
+android_app {
+    name: "HalfSheetUX",
+    defaults: ["HalfSheetDefaults"],
+    resource_dirs: ["res"],
+    certificate: ":com.android.nearby.halfsheetcertificate",
+    updatable: true,
+    apex_available: ["com.android.nearby",],
+}
+
+android_app_certificate {
+    name: "com.android.nearby.halfsheetcertificate",
+    certificate: "apk-certs/com.android.nearby.halfsheet"
+}
+