diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a65c1bdfb0..166b896dc6 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -342,7 +342,8 @@
+ android:launchMode="singleTask"
+ android:theme="@style/Theme.Session.DayNight.NoActionBar"/>
if (file.exists()) {
MessageDigest md = MessageDigest.getInstance("SHA-256")
@@ -372,7 +373,7 @@ def assembleWebsiteDescriptor = { variant, file ->
descriptorFile.write(descriptor)
}
}
-/*
+
def signProductionRelease = { variant ->
variant.outputs.collect { output ->
String apkName = output.outputFile.name
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index 889ee1d68a..f05084afb7 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -5,5 +5,5 @@ repositories {
}
dependencies {
- compile 'com.android.tools.build:apksig:3.3.2'
+ implementation 'com.android.tools.build:apksig:4.0.1'
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 1b2b07cfb0..33682bbbf9 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/res/drawable-hdpi/ic_arrow_forward_dark.png b/res/drawable-hdpi/ic_arrow_forward_dark.png
deleted file mode 100644
index 03568e6a08..0000000000
Binary files a/res/drawable-hdpi/ic_arrow_forward_dark.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_arrow_forward_light.png b/res/drawable-hdpi/ic_arrow_forward_light.png
deleted file mode 100644
index b55688a81f..0000000000
Binary files a/res/drawable-hdpi/ic_arrow_forward_light.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_folder_white_48dp.png b/res/drawable-hdpi/ic_folder_white_48dp.png
deleted file mode 100644
index b93d5a1e4a..0000000000
Binary files a/res/drawable-hdpi/ic_folder_white_48dp.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_visibility_grey600_24dp.png b/res/drawable-hdpi/ic_visibility_grey600_24dp.png
deleted file mode 100644
index 619b076ea4..0000000000
Binary files a/res/drawable-hdpi/ic_visibility_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_visibility_off_grey600_24dp.png b/res/drawable-hdpi/ic_visibility_off_grey600_24dp.png
deleted file mode 100644
index e6bddf2ef7..0000000000
Binary files a/res/drawable-hdpi/ic_visibility_off_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_visibility_off_white_24dp.png b/res/drawable-hdpi/ic_visibility_off_white_24dp.png
deleted file mode 100644
index e03a5d2349..0000000000
Binary files a/res/drawable-hdpi/ic_visibility_off_white_24dp.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_visibility_white_24dp.png b/res/drawable-hdpi/ic_visibility_white_24dp.png
deleted file mode 100644
index d531d666fc..0000000000
Binary files a/res/drawable-hdpi/ic_visibility_white_24dp.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_arrow_forward_dark.png b/res/drawable-mdpi/ic_arrow_forward_dark.png
deleted file mode 100644
index 92b6aebeca..0000000000
Binary files a/res/drawable-mdpi/ic_arrow_forward_dark.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_arrow_forward_light.png b/res/drawable-mdpi/ic_arrow_forward_light.png
deleted file mode 100644
index 1df381e4b5..0000000000
Binary files a/res/drawable-mdpi/ic_arrow_forward_light.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_folder_white_48dp.png b/res/drawable-mdpi/ic_folder_white_48dp.png
deleted file mode 100644
index 71a5a137c4..0000000000
Binary files a/res/drawable-mdpi/ic_folder_white_48dp.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_visibility_grey600_24dp.png b/res/drawable-mdpi/ic_visibility_grey600_24dp.png
deleted file mode 100644
index 9d554fe3de..0000000000
Binary files a/res/drawable-mdpi/ic_visibility_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_visibility_off_grey600_24dp.png b/res/drawable-mdpi/ic_visibility_off_grey600_24dp.png
deleted file mode 100644
index 08dcac59fa..0000000000
Binary files a/res/drawable-mdpi/ic_visibility_off_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_visibility_off_white_24dp.png b/res/drawable-mdpi/ic_visibility_off_white_24dp.png
deleted file mode 100644
index fb21efe6d9..0000000000
Binary files a/res/drawable-mdpi/ic_visibility_off_white_24dp.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_visibility_white_24dp.png b/res/drawable-mdpi/ic_visibility_white_24dp.png
deleted file mode 100644
index 0e8e507f21..0000000000
Binary files a/res/drawable-mdpi/ic_visibility_white_24dp.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_arrow_forward_dark.png b/res/drawable-xhdpi/ic_arrow_forward_dark.png
deleted file mode 100644
index 70057432f3..0000000000
Binary files a/res/drawable-xhdpi/ic_arrow_forward_dark.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_arrow_forward_light.png b/res/drawable-xhdpi/ic_arrow_forward_light.png
deleted file mode 100644
index ad50cf2741..0000000000
Binary files a/res/drawable-xhdpi/ic_arrow_forward_light.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_folder_white_48dp.png b/res/drawable-xhdpi/ic_folder_white_48dp.png
deleted file mode 100644
index a1afbe9daf..0000000000
Binary files a/res/drawable-xhdpi/ic_folder_white_48dp.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_visibility_grey600_24dp.png b/res/drawable-xhdpi/ic_visibility_grey600_24dp.png
deleted file mode 100644
index b121c9ae29..0000000000
Binary files a/res/drawable-xhdpi/ic_visibility_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_visibility_off_grey600_24dp.png b/res/drawable-xhdpi/ic_visibility_off_grey600_24dp.png
deleted file mode 100644
index a666da5cd6..0000000000
Binary files a/res/drawable-xhdpi/ic_visibility_off_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_visibility_off_white_24dp.png b/res/drawable-xhdpi/ic_visibility_off_white_24dp.png
deleted file mode 100644
index 03d0e65b18..0000000000
Binary files a/res/drawable-xhdpi/ic_visibility_off_white_24dp.png and /dev/null differ
diff --git a/res/drawable-xhdpi/ic_visibility_white_24dp.png b/res/drawable-xhdpi/ic_visibility_white_24dp.png
deleted file mode 100644
index a42cab7109..0000000000
Binary files a/res/drawable-xhdpi/ic_visibility_white_24dp.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_arrow_forward_dark.png b/res/drawable-xxhdpi/ic_arrow_forward_dark.png
deleted file mode 100644
index 67c757ae26..0000000000
Binary files a/res/drawable-xxhdpi/ic_arrow_forward_dark.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_arrow_forward_light.png b/res/drawable-xxhdpi/ic_arrow_forward_light.png
deleted file mode 100644
index 44956477ad..0000000000
Binary files a/res/drawable-xxhdpi/ic_arrow_forward_light.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_folder_white_48dp.png b/res/drawable-xxhdpi/ic_folder_white_48dp.png
deleted file mode 100644
index 0f95c75501..0000000000
Binary files a/res/drawable-xxhdpi/ic_folder_white_48dp.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_visibility_grey600_24dp.png b/res/drawable-xxhdpi/ic_visibility_grey600_24dp.png
deleted file mode 100644
index 503497dda8..0000000000
Binary files a/res/drawable-xxhdpi/ic_visibility_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_visibility_off_grey600_24dp.png b/res/drawable-xxhdpi/ic_visibility_off_grey600_24dp.png
deleted file mode 100644
index 63914559f4..0000000000
Binary files a/res/drawable-xxhdpi/ic_visibility_off_grey600_24dp.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_visibility_off_white_24dp.png b/res/drawable-xxhdpi/ic_visibility_off_white_24dp.png
deleted file mode 100644
index f88d24ff5f..0000000000
Binary files a/res/drawable-xxhdpi/ic_visibility_off_white_24dp.png and /dev/null differ
diff --git a/res/drawable-xxhdpi/ic_visibility_white_24dp.png b/res/drawable-xxhdpi/ic_visibility_white_24dp.png
deleted file mode 100644
index 987af79f8b..0000000000
Binary files a/res/drawable-xxhdpi/ic_visibility_white_24dp.png and /dev/null differ
diff --git a/res/drawable-xxxhdpi/ic_folder_white_48dp.png b/res/drawable-xxxhdpi/ic_folder_white_48dp.png
deleted file mode 100644
index 862a359c65..0000000000
Binary files a/res/drawable-xxxhdpi/ic_folder_white_48dp.png and /dev/null differ
diff --git a/res/drawable/ic_baseline_add_24.xml b/res/drawable/ic_baseline_add_24.xml
new file mode 100644
index 0000000000..eb232541d8
--- /dev/null
+++ b/res/drawable/ic_baseline_add_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/res/drawable/ic_baseline_arrow_forward_24.xml b/res/drawable/ic_baseline_arrow_forward_24.xml
new file mode 100644
index 0000000000..702e70c537
--- /dev/null
+++ b/res/drawable/ic_baseline_arrow_forward_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/res/drawable/ic_baseline_folder_24.xml b/res/drawable/ic_baseline_folder_24.xml
new file mode 100644
index 0000000000..dc6b080235
--- /dev/null
+++ b/res/drawable/ic_baseline_folder_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/res/drawable/ic_baseline_mic_24.xml b/res/drawable/ic_baseline_mic_24.xml
new file mode 100644
index 0000000000..791b475704
--- /dev/null
+++ b/res/drawable/ic_baseline_mic_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/res/drawable/ic_baseline_visibility_24.xml b/res/drawable/ic_baseline_visibility_24.xml
new file mode 100644
index 0000000000..a3e222a2d1
--- /dev/null
+++ b/res/drawable/ic_baseline_visibility_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/res/drawable/ic_baseline_visibility_off_24.xml b/res/drawable/ic_baseline_visibility_off_24.xml
new file mode 100644
index 0000000000..92c48569fd
--- /dev/null
+++ b/res/drawable/ic_baseline_visibility_off_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/res/drawable/profile_picture_view_large_background.xml b/res/drawable/profile_picture_view_large_background.xml
index bfc404e25f..c5f6d91a0d 100644
--- a/res/drawable/profile_picture_view_large_background.xml
+++ b/res/drawable/profile_picture_view_large_background.xml
@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
-
+
diff --git a/res/drawable/profile_picture_view_large_foreground.xml b/res/drawable/profile_picture_view_large_foreground.xml
index 18cac49b38..7d6f94a2b4 100644
--- a/res/drawable/profile_picture_view_large_foreground.xml
+++ b/res/drawable/profile_picture_view_large_foreground.xml
@@ -7,5 +7,5 @@
-
+
\ No newline at end of file
diff --git a/res/drawable/profile_picture_view_medium_background.xml b/res/drawable/profile_picture_view_medium_background.xml
index 287d6298e2..2b379dec4e 100644
--- a/res/drawable/profile_picture_view_medium_background.xml
+++ b/res/drawable/profile_picture_view_medium_background.xml
@@ -3,9 +3,9 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
-
+
-
+
\ No newline at end of file
diff --git a/res/drawable/profile_picture_view_medium_foreground.xml b/res/drawable/profile_picture_view_medium_foreground.xml
index e62cfbe3fb..e05dd6aaba 100644
--- a/res/drawable/profile_picture_view_medium_foreground.xml
+++ b/res/drawable/profile_picture_view_medium_foreground.xml
@@ -7,5 +7,5 @@
-
+
\ No newline at end of file
diff --git a/res/drawable/profile_picture_view_rss_medium_background.xml b/res/drawable/profile_picture_view_rss_medium_background.xml
index b060c41b4b..9496e53ed0 100644
--- a/res/drawable/profile_picture_view_rss_medium_background.xml
+++ b/res/drawable/profile_picture_view_rss_medium_background.xml
@@ -3,9 +3,9 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
-
+
-
+
\ No newline at end of file
diff --git a/res/drawable/profile_picture_view_small_background.xml b/res/drawable/profile_picture_view_small_background.xml
index 2f44fefe9f..d01f12f77a 100644
--- a/res/drawable/profile_picture_view_small_background.xml
+++ b/res/drawable/profile_picture_view_small_background.xml
@@ -3,9 +3,9 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
-
+
-
+
\ No newline at end of file
diff --git a/res/drawable/profile_picture_view_small_foreground.xml b/res/drawable/profile_picture_view_small_foreground.xml
index 98d2b0a4e7..6a46584bf8 100644
--- a/res/drawable/profile_picture_view_small_foreground.xml
+++ b/res/drawable/profile_picture_view_small_foreground.xml
@@ -7,5 +7,5 @@
-
+
\ No newline at end of file
diff --git a/res/drawable/prominent_outline_button_medium_background.xml b/res/drawable/prominent_outline_button_medium_background.xml
index 183ed83282..f595e4f38b 100644
--- a/res/drawable/prominent_outline_button_medium_background.xml
+++ b/res/drawable/prominent_outline_button_medium_background.xml
@@ -7,5 +7,5 @@
-
+
\ No newline at end of file
diff --git a/res/layout-sw400dp/activity_pn_mode.xml b/res/layout-sw400dp/activity_pn_mode.xml
index 649ef31eae..66431151b8 100644
--- a/res/layout-sw400dp/activity_pn_mode.xml
+++ b/res/layout-sw400dp/activity_pn_mode.xml
@@ -1,6 +1,7 @@
@@ -30,7 +31,7 @@
android:textColor="@color/text"
android:text="There are two ways Session can notify you of new messages." />
-
-
+
-
-
+
+
+