您好。这是因为需要添加兼容矩阵。
diff --git a/hardware/interfaces/compatibility_matrices/compatibility_matrix.4.xml b/hardware/interfaces/compatibility_matrices/compatibility_matrix.4.xml
index 8ef0b3a..89c584a 100644
--- a/hardware/interfaces/compatibility_matrices/compatibility_matrix.4.xml
+++ b/hardware/interfaces/compatibility_matrices/compatibility_matrix.4.xml
@@ -348,6 +348,10 @@
<hal format="hidl" optional="true">
<name>android.hardware.radio</name>
<version>1.4</version>
+ <version>1.3</version>
+ <version>1.2</version>
+ <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IRadio</name>
<instance>slot1</instance>
diff --git a/hardware/interfaces/compatibility_matrices/compatibility_matrix.5.xml b/hardware/interfaces/compatibility_matrices/compatibility_matrix.5.xml
index 12b85c7..49860a2 100644
--- a/hardware/interfaces/compatibility_matrices/compatibility_matrix.5.xml
+++ b/hardware/interfaces/compatibility_matrices/compatibility_matrix.5.xml
@@ -384,8 +384,12 @@
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.radio</name>
- <version>1.4</version>
<version>1.5</version>
+ <version>1.4</version>
+ <version>1.3</version>
+ <version>1.2</version>
+ <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IRadio</name>
<instance>slot1</instance>
diff --git a/hardware/interfaces/compatibility_matrices/compatibility_matrix.6.xml b/hardware/interfaces/compatibility_matrices/compatibility_matrix.6.xml
index e19d2dd..f98897c 100644
--- a/hardware/interfaces/compatibility_matrices/compatibility_matrix.6.xml
+++ b/hardware/interfaces/compatibility_matrices/compatibility_matrix.6.xml
@@ -225,7 +225,10 @@
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.gnss</name>
- <version>2.0-1</version>
+ <version>2.1</version>
+ <version>2.0</version>
+ <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IGnss</name>
<instance>default</instance>
@@ -441,6 +444,12 @@
<hal format="hidl" optional="true">
<name>android.hardware.radio</name>
<version>1.6</version>
+ <version>1.5</version>
+ <version>1.4</version>
+ <version>1.3</version>
+ <version>1.2</version>
+ <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IRadio</name>
<instance>slot1</instance>
diff --git a/hardware/interfaces/compatibility_matrices/compatibility_matrix.7.xml b/hardware/interfaces/compatibility_matrices/compatibility_matrix.7.xml
index 26b8d63..ed78bf8 100644
--- a/hardware/interfaces/compatibility_matrices/compatibility_matrix.7.xml
+++ b/hardware/interfaces/compatibility_matrices/compatibility_matrix.7.xml
@@ -248,7 +248,10 @@
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.gnss</name>
- <version>2.0-1</version>
+ <version>2.1</version>
+ <version>2.0</version>
+ <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IGnss</name>
<instance>default</instance>
@@ -516,6 +519,22 @@
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl" optional="true">
+ <name>android.hardware.radio</name>
+ <version>1.6</version>
+ <version>1.5</version>
+ <version>1.4</version>
+ <version>1.3</version>
+ <version>1.2</version>
+ <version>1.1</version>
+ <version>1.0</version>
+ <interface>
+ <name>IRadio</name>
+ <instance>slot1</instance>
+ <instance>slot2</instance>
+ <instance>slot3</instance>
+ </interface>
+ </hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.config</name>
<version>1</version>
diff --git a/hardware/interfaces/compatibility_matrices/compatibility_matrix.current.xml b/hardware/interfaces/compatibility_matrices/compatibility_matrix.current.xml
index 886f7f5..1175dc6 100644
--- a/hardware/interfaces/compatibility_matrices/compatibility_matrix.current.xml
+++ b/hardware/interfaces/compatibility_matrices/compatibility_matrix.current.xml
@@ -520,6 +520,22 @@
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl" optional="true">
+ <name>android.hardware.radio</name>
+ <version>1.6</version>
+ <version>1.5</version>
+ <version>1.4</version>
+ <version>1.3</version>
+ <version>1.2</version>
+ <version>1.1</version>
+ <version>1.0</version>
+ <interface>
+ <name>IRadio</name>
+ <instance>slot1</instance>
+ <instance>slot2</instance>
+ <instance>slot3</instance>
+ </interface>
+ </hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.config</name>
<version>1</version>