Add carrier config for partial sms raw message expiration.
Everytime at boot-up, we check Sms raw table, and delete the rows with any partial message that is too old. By default the expiration age is 30 days, but we want to make it configurable. Bug: 77910620 Test: sanity-test Change-Id: Ibd2374324be5513cbd09c04889e7b96051c26fb4
This commit is contained in:
@@ -1919,6 +1919,15 @@ public class CarrierConfigManager {
|
||||
public static final String KEY_WCDMA_DEFAULT_SIGNAL_STRENGTH_MEASUREMENT_STRING =
|
||||
"wcdma_default_signal_strength_measurement_string";
|
||||
|
||||
/**
|
||||
* When a partial sms / mms message stay in raw table for too long without being completed,
|
||||
* we expire them and delete them from the raw table. This carrier config defines the
|
||||
* expiration time.
|
||||
* @hide
|
||||
*/
|
||||
public static final String KEY_UNDELIVERED_SMS_MESSAGE_EXPIRATION_TIME =
|
||||
"undelivered_sms_message_expiration_time";
|
||||
|
||||
/** The default value for every variable. */
|
||||
private final static PersistableBundle sDefaults;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user