mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 08:27:30 +00:00
2c2a03e5e2
1) Added a new message status to MmsDatabase to signify a pending MMS download which requires APN settings. 2) Added a database method to query MMS messages based on status. 3) Added login to SendReceiveService for processing of MMS pending APN information. 4) Moved all APN/MMS settings into ApnPreferencesActivity and transformed PromptApnActivity into a simple informational activity. 5) Added logic to check for APN settings on send and receive of all MMS (media, group, email) and direct user to PromptApnActivity then ApnPreferencesActivity if necessary. 6) Vocab/grammar adjustments.
23 lines
1.2 KiB
XML
23 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<CheckBoxPreference android:key="pref_enable_manual_mms"
|
|
android:defaultValue="false"
|
|
android:title="@string/preferences__enable_manual_mms"
|
|
android:summary="@string/preferences__override_system_mms_settings"/>
|
|
|
|
<EditTextPreference android:key="pref_apn_mmsc_host"
|
|
android:title="@string/preferences__mmsc_url_required"
|
|
android:dependency="pref_enable_manual_mms"
|
|
android:inputType="textUri" />
|
|
|
|
<EditTextPreference android:key="pref_apn_mms_proxy"
|
|
android:title="@string/preferences__mms_proxy_host_optional"
|
|
android:dependency="pref_enable_manual_mms"
|
|
android:inputType="textUri" />
|
|
|
|
<EditTextPreference android:key="pref_apn_mms_proxy_port"
|
|
android:title="@string/preferences__mms_proxy_port_optional"
|
|
android:dependency="pref_enable_manual_mms"
|
|
android:inputType="number" />
|
|
</PreferenceScreen> |