From 026efcc0b829ce299d94367fa56cf610b9b746af Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Mon, 24 Sep 2012 10:03:21 -0700 Subject: 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 --- core/java/android/provider/Settings.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index cc9abff..248a96f 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -5458,11 +5458,21 @@ public final class Settings { /** * Used to disable SMS short code confirmation - defaults to true. + * True indcates we will do the check, etc. Set to false to disable. * @see com.android.internal.telephony.SmsUsageMonitor * @hide */ public static final String SMS_SHORT_CODE_CONFIRMATION = "sms_short_code_confirmation"; + /** + * Used to select which country we use to determine premium sms codes. + * One of com.android.internal.telephony.SMSDispatcher.PREMIUM_RULE_USE_SIM, + * com.android.internal.telephony.SMSDispatcher.PREMIUM_RULE_USE_NETWORK, + * or com.android.internal.telephony.SMSDispatcher.PREMIUM_RULE_USE_BOTH. + * @hide + */ + public static final String SMS_SHORT_CODE_RULE = "sms_short_code_rule"; + /** * Prefix for SMS short code regex patterns (country code is appended). * @see com.android.internal.telephony.SmsUsageMonitor -- cgit v1.1