From 588d74f4008f9e35873e8a403842f21358fd51e4 Mon Sep 17 00:00:00 2001 From: Marcos Marado Date: Mon, 19 Jan 2015 15:40:21 +0000 Subject: protected SMS [1/4] Ports "protected SMS" from CM11: * Add API for protected SMS receive broadcasts. Change-Id: I5dfeb94832eefac9607070e9fb29db589bac7a57 * SettingsProvider: fix load protected sms setting logic Change-Id: I7d03821c5f5ac5d24445e5c03f7911c3a81c16dd Change-Id: Ifd31eb9558e397bf92f4cdb87f9e2056bc71d22f --- telephony/java/com/android/internal/telephony/ITelephony.aidl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'telephony/java/com') diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 6e0ac88..5c05191 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -545,6 +545,16 @@ interface ITelephony { int getLteOnGsmMode(); /** + * Adds a protected sms address to the {@link Settings.Secure.PROTECTED_SMS_ADDRESSES} + */ + void addProtectedSmsAddress(String address); + + /** + * Revokes a protected sms address from {@link Settings.Secure.PROTECTED_SMS_ADDRESSES} + */ + boolean revokeProtectedSmsAddress(String address); + + /** * get default sim * @return sim id */ -- cgit v1.1