Commit e2c5c3a8 authored by Slava Monich's avatar Slava Monich

[mms-engine] Changed Jolla UAProf URL

It's http://static.jolla.com/uaprof/Jolla.xml and from now on
it should be permanent. And it actually works.
parent 4779c321
...@@ -68,7 +68,7 @@ typedef struct mms_settings_class { ...@@ -68,7 +68,7 @@ typedef struct mms_settings_class {
* then these should match the default values defined in the GSettings * then these should match the default values defined in the GSettings
* schema (org.nemomobile.mms.sim.gschema.xml) */ * schema (org.nemomobile.mms.sim.gschema.xml) */
#define MMS_SETTINGS_DEFAULT_USER_AGENT "Mozilla/5.0 (Sailfish; Jolla)" #define MMS_SETTINGS_DEFAULT_USER_AGENT "Mozilla/5.0 (Sailfish; Jolla)"
#define MMS_SETTINGS_DEFAULT_UAPROF "http://www.jolla.com/uaprof/Jolla.xml" #define MMS_SETTINGS_DEFAULT_UAPROF "http://static.jolla.com/uaprof/Jolla.xml"
#define MMS_SETTINGS_DEFAULT_SIZE_LIMIT (300*1024) #define MMS_SETTINGS_DEFAULT_SIZE_LIMIT (300*1024)
#define MMS_SETTINGS_DEFAULT_MAX_PIXELS (3000000) #define MMS_SETTINGS_DEFAULT_MAX_PIXELS (3000000)
#define MMS_SETTINGS_DEFAULT_ALLOW_DR TRUE #define MMS_SETTINGS_DEFAULT_ALLOW_DR TRUE
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<schemalist> <schemalist>
<!-- Path is /IMSI/ --> <!--
Path is /IMSI/
These defaults should match those defined in mms_settings.h
-->
<schema id="org.nemomobile.mms.sim"> <schema id="org.nemomobile.mms.sim">
<key type="s" name="user-agent"> <key type="s" name="user-agent">
<default>'Mozilla/5.0 (Sailfish; Jolla)'</default> <default>'Mozilla/5.0 (Sailfish; Jolla)'</default>
...@@ -8,7 +11,7 @@ ...@@ -8,7 +11,7 @@
<description>The value of User-Agent header to use when communicating with the MMS server.</description> <description>The value of User-Agent header to use when communicating with the MMS server.</description>
</key> </key>
<key type="s" name="user-agent-profile"> <key type="s" name="user-agent-profile">
<default>'http://www.jolla.com/uaprof/Jolla.xml'</default> <default>'http://static.jolla.com/uaprof/Jolla.xml'</default>
<summary>User-Agent Profile string.</summary> <summary>User-Agent Profile string.</summary>
<description>The value of x-wap-profile header to use when communicating with the MMS server.</description> <description>The value of x-wap-profile header to use when communicating with the MMS server.</description>
</key> </key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment