msm8974-common: Disable network scan via TelephonyManager
Change-Id: I07ac2eee478d6edbc266447ef3209403a14285f1
This commit is contained in:
parent
756a4e4063
commit
881a6b9fff
26
overlay/packages/services/Telephony/res/values/config.xml
Normal file
26
overlay/packages/services/Telephony/res/values/config.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2019 The LineageOS 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Phone app resources that may need to be customized
|
||||||
|
for different hardware or product builds. -->
|
||||||
|
<resources>
|
||||||
|
<!-- Flag indicating if network query through TelephonyManager.requestNetworkScan() should be
|
||||||
|
disabled.
|
||||||
|
If set to true, it will send network query through Phone.getAvailableNetworks() directly
|
||||||
|
rather than attempt to query through TelephonyManager.requestNetworkScan() first. -->
|
||||||
|
<bool name="config_disable_TelephonyManager_network_scan">true</bool>
|
||||||
|
</resources>
|
Loading…
Reference in New Issue
Block a user