Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
monich committed Jun 4, 2014
1 parent 4779c32 commit e2c5c3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mms-lib/include/mms_settings.h
Expand Up @@ -68,7 +68,7 @@ typedef struct mms_settings_class {
* then these should match the default values defined in the GSettings
* schema (org.nemomobile.mms.sim.gschema.xml) */
#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_MAX_PIXELS (3000000)
#define MMS_SETTINGS_DEFAULT_ALLOW_DR TRUE
Expand Down
7 changes: 5 additions & 2 deletions mms-settings-dconf/spec/org.nemomobile.mms.sim.gschema.xml
@@ -1,14 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<!-- Path is /IMSI/ -->
<!--
Path is /IMSI/
These defaults should match those defined in mms_settings.h
-->
<schema id="org.nemomobile.mms.sim">
<key type="s" name="user-agent">
<default>'Mozilla/5.0 (Sailfish; Jolla)'</default>
<summary>User-Agent string.</summary>
<description>The value of User-Agent header to use when communicating with the MMS server.</description>
</key>
<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>
<description>The value of x-wap-profile header to use when communicating with the MMS server.</description>
</key>
Expand Down

0 comments on commit e2c5c3a

Please sign in to comment.