Refactored cell broadcast area info support
Area info cell broadcast messages are not handled by cell broadcast receiver anymore. Instead, they will be processed in cell broadcast service. Privileged apps that are interested in getting the information will need to get it directly from cell broadcast service. Note this is only enabled for certain countries and carriers. Test: Manual Bug: 141318859 Bug: 141425194 Change-Id: I2245c39f679d0ad94c9a1325edc553f362fdce7c
This commit is contained in:
23
core/res/res/values-mcc334/config.xml
Normal file
23
core/res/res/values-mcc334/config.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2020, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Show area update info settings in CellBroadcastReceiver and information in SIM status in Settings app -->
|
||||
<bool name="config_showAreaUpdateInfoSettings">true</bool>
|
||||
</resources>
|
||||
23
core/res/res/values-mcc732/config.xml
Normal file
23
core/res/res/values-mcc732/config.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2020, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Show area update info settings in CellBroadcastReceiver and information in SIM status in Settings app -->
|
||||
<bool name="config_showAreaUpdateInfoSettings">true</bool>
|
||||
</resources>
|
||||
23
core/res/res/values-mcc740/config.xml
Normal file
23
core/res/res/values-mcc740/config.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2020, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Show area update info settings in CellBroadcastReceiver and information in SIM status in Settings app -->
|
||||
<bool name="config_showAreaUpdateInfoSettings">true</bool>
|
||||
</resources>
|
||||
@@ -400,5 +400,6 @@ applications that come with the platform
|
||||
</privapp-permissions>
|
||||
<privapp-permissions package="com.android.settings">
|
||||
<permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
|
||||
<permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
|
||||
</privapp-permissions>
|
||||
</permissions>
|
||||
|
||||
Reference in New Issue
Block a user