Add AmbientSensePrebuilt: it's used also by Google app/SoundSearch tile

to get a faster music recognition from the offline database
catched the call in the logcat

Change-Id: Icb168f3a1591601de489bc895ff5f415e6af0214
diff --git a/config/common.mk b/config/common.mk
index f52a823..eacaa54 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -124,6 +124,7 @@
 -include vendor/bliss/config/bliss_packages.mk
 
 $(call inherit-product-if-exists, vendor/bliss/prebuilt/common/app/Android.mk)
+$(call inherit-product-if-exists, vendor/bliss/prebuilt/common/apk/prebuilt.mk)
 $(call inherit-product-if-exists, vendor/bliss/google/Android.mk)
 $(call inherit-product-if-exists, vendor/bliss/prebuilt/common/privapp/Android.mk)
 $(call inherit-product-if-exists, vendor/extra/product.mk)
diff --git a/prebuilt/common/apk/AmbientSensePrebuilt.apk b/prebuilt/common/apk/AmbientSensePrebuilt.apk
new file mode 100644
index 0000000..15b2a87
--- /dev/null
+++ b/prebuilt/common/apk/AmbientSensePrebuilt.apk
Binary files differ
diff --git a/prebuilt/common/apk/Android.mk b/prebuilt/common/apk/Android.mk
new file mode 100644
index 0000000..9fcd21a
--- /dev/null
+++ b/prebuilt/common/apk/Android.mk
@@ -0,0 +1,27 @@
+# Copyright (C) 2016 The Pure Nexus 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.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := AmbientSensePrebuilt
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
+LOCAL_CERTIFICATE := PRESIGNED
+LOCAL_PRIVILEGED_MODULE := true
+LOCAL_MODULE_CLASS := APPS
+LOCAL_DEX_PREOPT := false
+LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
+include $(BUILD_PREBUILT)
+
diff --git a/prebuilt/common/apk/prebuilt.mk b/prebuilt/common/apk/prebuilt.mk
new file mode 100644
index 0000000..1019ce2
--- /dev/null
+++ b/prebuilt/common/apk/prebuilt.mk
@@ -0,0 +1,20 @@
+#
+# 2017 Bliss Roms - Adapted from Android-x86 Project
+# Original Copyright (C) 2011-2015 The Android-x86 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
+#
+
+LOCAL_PATH := $(call my-dir)
+# Prebuilt Packages
+PRODUCT_PACKAGES += \
+    AmbientSensePrebuilt
+
+# AmbientSense
+PRODUCT_COPY_FILES +=  \
+    vendor/bliss/prebuilt/common/etc/ambient/matcher_tah.leveldb:system/etc/ambient/matcher_tah.leveldb
+
diff --git a/prebuilt/common/etc/ambient/matcher_tah.leveldb b/prebuilt/common/etc/ambient/matcher_tah.leveldb
new file mode 100644
index 0000000..2435e6c
--- /dev/null
+++ b/prebuilt/common/etc/ambient/matcher_tah.leveldb
Binary files differ