Skip to content

Commit

Permalink
Suppress crash of com.android.phone on Y700.
Browse files Browse the repository at this point in the history
This patch suppresses crashes of the telephony of Lenovo Legion Y700 2023.
Since the Y700 does not have a modem, it keeps crashing continuously when
telephony tries to access a modem HAL that does not exist.
  • Loading branch information
polygraphene committed Nov 16, 2024
1 parent a33bda1 commit 4c0f852
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lenovo/Y700-2023/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_voice_capable">false</bool>
<bool name="config_sms_capable">false</bool>
<bool name="config_mobile_data_capable">false</bool>

<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
Expand Down

0 comments on commit 4c0f852

Please sign in to comment.