Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 6f8ee3c

Browse files
committed
Merge branch 'release/0.9.10'
2 parents 5da259a + b2ebbd2 commit 6f8ee3c

File tree

32 files changed

+5311
-1218
lines changed

32 files changed

+5311
-1218
lines changed

CHANGES.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Changes in RiotX 0.9.10 (2019-02-10)
2+
===================================================
3+
4+
MatrixSdk 🚀:
5+
- Upgrade to version 0.9.33
6+
- Changelog: https://github.com/matrix-org/matrix-android-sdk/releases/tag/v0.9.33
7+
8+
Improvements 🙌:
9+
- Support SSO with Firefox accounts (#3337)
10+
111
Changes in Riot 0.9.9 (2019-11-25)
212
===================================================
313

@@ -1481,7 +1491,7 @@ Changes in Vector 0.2.0 (2016-04-14)
14811491
=======================================================
14821492

14831493

1484-
Changes in Riot 0.9.XX (2019-XX-XX)
1494+
Changes in Riot 0.9.XX (2020-XX-XX)
14851495
===================================================
14861496

14871497
MatrixSdk 🚀:

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
jcenter()
1212
}
1313
dependencies {
14-
classpath 'com.android.tools.build:gradle:3.4.1'
14+
classpath 'com.android.tools.build:gradle:3.5.3'
1515
classpath 'com.google.gms:google-services:4.2.0'
1616
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1717
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
@@ -23,8 +23,8 @@ buildscript {
2323

2424
// global properties used in sub modules
2525
ext {
26-
versionCodeProp = 90900
27-
versionNameProp = "0.9.9"
26+
versionCodeProp = 90910
27+
versionNameProp = "0.9.10"
2828
versionBuild = System.getenv("BUILD_NUMBER") as Integer ?: 0
2929
buildNumberProp = "${versionBuild}"
3030
}

vector/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ dependencies {
245245
/************* Matrix SDK management **************/
246246
// update settings.gradle
247247
// use the matrix SDK as external dependency
248-
implementation 'com.github.matrix-org:matrix-android-sdk:v0.9.32'
248+
implementation 'com.github.matrix-org:matrix-android-sdk:v0.9.33'
249249
// use the matrix SDK as a sub project
250250
// you have to uncomment some lines in settings.gradle
251251
//implementation project(':matrix-sdk')

vector/src/main/java/im/vector/activity/FallbackAuthenticationActivity.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ class FallbackAuthenticationActivity : VectorAppCompatActivity() {
6565
mMode = intent.getIntExtra(EXTRA_IN_MODE, MODE_LOGIN)
6666

6767
mWebView.settings.javaScriptEnabled = true
68+
69+
// Enable local storage to support SSO with Firefox accounts
70+
mWebView.settings.domStorageEnabled = true
71+
mWebView.settings.databaseEnabled = true
72+
6873
// Due to https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html, we hack
6974
// the user agent to bypass the limitation of Google, as a quick fix (a proper solution will be to use the SSO SDK)
7075
mWebView.settings.userAgentString = "Mozilla/5.0 Google"

vector/src/main/java/im/vector/activity/VectorRoomActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3485,7 +3485,7 @@ public void onClick(View v) {
34853485

34863486
showWaitingView();
34873487

3488-
room.joinWithThirdPartySigned(sRoomPreviewData.getRoomIdOrAlias(), signUrl, new ApiCallback<Void>() {
3488+
room.joinWithThirdPartySigned(sRoomPreviewData.getSession(), sRoomPreviewData.getRoomIdOrAlias(), signUrl, new ApiCallback<Void>() {
34893489
@Override
34903490
public void onSuccess(Void info) {
34913491
onJoined();

vector/src/main/res/layout/activity_vector_login.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@
438438
android:layout_width="match_parent"
439439
android:layout_height="wrap_content"
440440
android:gravity="center_horizontal"
441-
android:textSize="16sp"
442441
android:padding="16dp"
442+
android:textSize="16sp"
443443
android:visibility="gone"
444444
tools:text="A text here"
445445
tools:visibility="visible" />

vector/src/main/res/layout/activity_vector_settings.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
android:layout_width="match_parent"
4-
android:layout_height="match_parent"
5-
xmlns:tools="http://schemas.android.com/tools">
5+
android:layout_height="match_parent">
66

77
<LinearLayout
88
android:layout_width="match_parent"
@@ -29,8 +29,8 @@
2929
android:layout_height="match_parent"
3030
android:background="?attr/vctr_waiting_background_color"
3131
android:clickable="true"
32-
tools:visibility="visible"
33-
android:visibility="gone">
32+
android:visibility="gone"
33+
tools:visibility="visible">
3434

3535
<ProgressBar
3636
android:id="@+id/vector_settings_spinner"

vector/src/main/res/layout/dialog_confirm_password.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
4-
xmlns:tools="http://schemas.android.com/tools"
54
android:layout_width="match_parent"
65
android:layout_height="wrap_content"
76
android:orientation="vertical"

vector/src/main/res/layout/fragment_set_identity_server.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
android:id="@+id/discovery_identity_server_loading"
4242
android:layout_width="wrap_content"
4343
android:layout_height="wrap_content"
44-
app:layout_constraintTop_toBottomOf="@id/discovery_identity_server_enter_til"
45-
app:layout_constraintStart_toStartOf="parent"
44+
android:visibility="gone"
4645
app:layout_constraintEnd_toEndOf="parent"
47-
tools:visibility="visible"
48-
android:visibility="gone" />
46+
app:layout_constraintStart_toStartOf="parent"
47+
app:layout_constraintTop_toBottomOf="@id/discovery_identity_server_enter_til"
48+
tools:visibility="visible" />
4949

5050
</androidx.constraintlayout.widget.ConstraintLayout>
5151

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources></resources>

0 commit comments

Comments
 (0)