summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
author Madhav <madhavadas@google.com> 2025-02-26 07:55:19 +0000
committer Madhav <madhavadas@google.com> 2025-02-26 18:58:50 +0000
commit04e6f58e5577b778f9170493c28ecbcc75b0b864 (patch)
treeb3af4edd6bb92523412214e38d90c009d7a26034 /data
parent328dea0588d956e3bb20635fc80d8d04f63169fa (diff)
Add Telephony messaging feature
android.hardware.telephony.messaging Bug: 395178686 Test: CF builds and boot Flag: EXEMPT refactor Change-Id: I5ceb41f14990b047f17492470b64a457472b9739
Diffstat (limited to 'data')
-rw-r--r--data/etc/Android.bp6
-rw-r--r--data/etc/android.hardware.telephony.messaging.xml23
2 files changed, 29 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp
index cd8ca89de5..0ac5266a0c 100644
--- a/data/etc/Android.bp
+++ b/data/etc/Android.bp
@@ -317,6 +317,12 @@ prebuilt_etc {
}
prebuilt_etc {
+ name: "android.hardware.telephony.messaging.prebuilt.xml",
+ src: "android.hardware.telephony.messaging.xml",
+ defaults: ["frameworks_native_data_etc_defaults"],
+}
+
+prebuilt_etc {
name: "android.hardware.thread_network.prebuilt.xml",
src: "android.hardware.thread_network.xml",
defaults: ["frameworks_native_data_etc_defaults"],
diff --git a/data/etc/android.hardware.telephony.messaging.xml b/data/etc/android.hardware.telephony.messaging.xml
new file mode 100644
index 0000000000..0e96123625
--- /dev/null
+++ b/data/etc/android.hardware.telephony.messaging.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2025 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.
+-->
+
+<!-- Feature for devices with messaging. -->
+<permissions>
+ <feature name="android.hardware.telephony" />
+ <feature name="android.hardware.telephony.radio.access" />
+ <feature name="android.hardware.telephony.subscription" />
+ <feature name="android.hardware.telephony.messaging" />
+</permissions>