dre: Add migration to turn off persist.vendor.radio.poweron_opt
If this value 1 it breaks SMS receiving. Change-Id: I7f56ecaac51abb6525c6022d92eac1c285ab0688
This commit is contained in:
parent
d482e5b10f
commit
881dd9a6ac
3 changed files with 30 additions and 0 deletions
8
qcril-database/config/14.1_config.sql
Normal file
8
qcril-database/config/14.1_config.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
Copyright (C) 2025 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
|
||||
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES('qcrildb_version',14.1);
|
||||
UPDATE qcril_properties_table SET def_val="0" WHERE property="persist.vendor.radio.poweron_opt";
|
||||
11
qcril-database/config/Android.bp
Normal file
11
qcril-database/config/Android.bp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2025 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
prebuilt_etc {
|
||||
name: "14.1_config.sql",
|
||||
src: "14.1_config.sql",
|
||||
sub_dir: "qcril_database/upgrade/config",
|
||||
vendor: true,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue