diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-09-25 14:57:33 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-09-25 14:57:33 -0700 |
commit | 8b4521b61b8ff87f2a3a13850eaa13d8e8901174 (patch) | |
tree | 8c4069a165940d90056d2076b8cc8386ee85b6f0 /src | |
parent | 727273590828d159f3d9db6f32a6178f30c0642a (diff) | |
download | Mms-8b4521b61b8ff87f2a3a13850eaa13d8e8901174.tar.gz |
Update references to migrated global settings.
Bug: 7231172
Change-Id: Ic6019792b6cf4e2b681e8882e9ea1f4f313bca88
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/mms/transaction/SimFullReceiver.java | 4 | ||||
-rw-r--r-- | src/com/android/mms/transaction/SmsRejectedReceiver.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/mms/transaction/SimFullReceiver.java b/src/com/android/mms/transaction/SimFullReceiver.java index e7baecd3..59ae6e41 100644 --- a/src/com/android/mms/transaction/SimFullReceiver.java +++ b/src/com/android/mms/transaction/SimFullReceiver.java @@ -36,8 +36,8 @@ public class SimFullReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { - if (Settings.Secure.getInt(context.getContentResolver(), - Settings.Secure.DEVICE_PROVISIONED, 0) == 1 && + if (Settings.Global.getInt(context.getContentResolver(), + Settings.Global.DEVICE_PROVISIONED, 0) == 1 && Telephony.Sms.Intents.SIM_FULL_ACTION.equals(intent.getAction())) { NotificationManager nm = (NotificationManager) diff --git a/src/com/android/mms/transaction/SmsRejectedReceiver.java b/src/com/android/mms/transaction/SmsRejectedReceiver.java index e60f5adc..a2306b89 100644 --- a/src/com/android/mms/transaction/SmsRejectedReceiver.java +++ b/src/com/android/mms/transaction/SmsRejectedReceiver.java @@ -39,8 +39,8 @@ public class SmsRejectedReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { - if (Settings.Secure.getInt(context.getContentResolver(), - Settings.Secure.DEVICE_PROVISIONED, 0) == 1 && + if (Settings.Global.getInt(context.getContentResolver(), + Settings.Global.DEVICE_PROVISIONED, 0) == 1 && Telephony.Sms.Intents.SMS_REJECTED_ACTION.equals(intent.getAction())) { int reason = intent.getIntExtra("result", -1); |