From dc7f1e0c86359b5b1e000d23658970d2a61175b5 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Fri, 25 Feb 2022 14:37:28 -0300 Subject: [PATCH] Fix screenshot PromoVideoTest Needs also to upgrade androidTestImplementation dependencies, but this makes normal instrumentation tests fail due to method limit. So those are not committed. --- briar-android/build.gradle | 3 ++- briar-android/proguard-test.txt | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/briar-android/build.gradle b/briar-android/build.gradle index 397441bf1..2771587c7 100644 --- a/briar-android/build.gradle +++ b/briar-android/build.gradle @@ -61,8 +61,9 @@ android { productFlavors { screenshot { dimension "version" - minSdkVersion 18 + minSdkVersion 21 applicationIdSuffix ".screenshot" // = org.briarproject.briar.android.screenshot.debug + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt', 'proguard-test.txt' } official { dimension "version" diff --git a/briar-android/proguard-test.txt b/briar-android/proguard-test.txt index 91b89ae58..4e68fab04 100644 --- a/briar-android/proguard-test.txt +++ b/briar-android/proguard-test.txt @@ -1,3 +1,6 @@ +-keep,includedescriptorclasses class org.briarproject.bramble.** { *; } +-keep,includedescriptorclasses class org.briarproject.briar.** { *; } + -dontwarn android.test.** -dontwarn android.support.test.** -dontnote android.support.test.**