From 07c59d969a1ba0d9b964936a3ebc1290b39bed00 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 4 Mar 2013 17:43:04 -0800 Subject: [PATCH] Prompt user for APN details when missing. If TextSecure is running on a device without APN details, we prompt the user to manually specify them when the user goes to send an MMS message. --- AndroidManifest.xml | 5 + res/layout/prompt_apn_activity.xml | 91 +++++++++++++++++++ res/values/strings.xml | 12 +++ .../securesms/ConversationActivity.java | 47 +++++++--- .../securesms/PromptApnActivity.java | 86 ++++++++++++++++++ .../securesms/mms/MmsCommunication.java | 3 +- .../securesms/mms/MmsSendHelper.java | 15 +++ 7 files changed, 245 insertions(+), 14 deletions(-) create mode 100644 res/layout/prompt_apn_activity.xml create mode 100644 src/org/thoughtcrime/securesms/PromptApnActivity.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 88416f45b1..2f7eb76a81 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -62,6 +62,11 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +