Skip to content

Commit 026efcc

Browse files
author
Robert Greenwalt
committed
Fix the build.
Other side of change 229425: add the secure settings used to control the source country used in premium-sms determination. bug:7205426 Change-Id: I6c8fece4fdea9aeae72da70c5cbe45807197c7bc
1 parent 314488b commit 026efcc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/java/android/provider/Settings.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5458,11 +5458,21 @@ public static final class Global extends NameValueTable {
54585458

54595459
/**
54605460
* Used to disable SMS short code confirmation - defaults to true.
5461+
* True indcates we will do the check, etc. Set to false to disable.
54615462
* @see com.android.internal.telephony.SmsUsageMonitor
54625463
* @hide
54635464
*/
54645465
public static final String SMS_SHORT_CODE_CONFIRMATION = "sms_short_code_confirmation";
54655466

5467+
/**
5468+
* Used to select which country we use to determine premium sms codes.
5469+
* One of com.android.internal.telephony.SMSDispatcher.PREMIUM_RULE_USE_SIM,
5470+
* com.android.internal.telephony.SMSDispatcher.PREMIUM_RULE_USE_NETWORK,
5471+
* or com.android.internal.telephony.SMSDispatcher.PREMIUM_RULE_USE_BOTH.
5472+
* @hide
5473+
*/
5474+
public static final String SMS_SHORT_CODE_RULE = "sms_short_code_rule";
5475+
54665476
/**
54675477
* Prefix for SMS short code regex patterns (country code is appended).
54685478
* @see com.android.internal.telephony.SmsUsageMonitor

0 commit comments

Comments
 (0)