Snap for 7478067 from 1b926ebfe82498413a8f843c85402a9661140222 to mainline-cellbroadcast-release

Change-Id: I02aea91d165ce671fc02ad686fe8b1c3e14b3f64
diff --git a/Android.bp b/Android.bp
index 064b0c8..f6c4960 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,23 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+package {
+    default_applicable_licenses: ["external_mtpd_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+    name: "external_mtpd_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-Apache-2.0",
+    ],
+    license_text: [
+        "NOTICE",
+    ],
+}
+
 cc_binary {
     name: "mtpd",
     srcs: [
@@ -31,4 +48,7 @@
         "-Werror",
     ],
     init_rc: ["mtpd.rc"],
+    sanitize: {
+        memtag_heap: true,
+    },
 }
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+  license_type: NOTICE
+}