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:
Anand S 2025-02-01 00:38:50 +05:30 committed by Albert Tang
parent d482e5b10f
commit 881dd9a6ac
3 changed files with 30 additions and 0 deletions

View 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";

View 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,
}