From ce48360022c3375bb55c93a73e69d655a8782b3c Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de>
Date: Thu, 14 May 2020 15:42:04 +0200
Subject: [PATCH] Increase minSdk to 21

Allows to more easily use new mechanisms added in SDK 21.
Additionally, sdk 19 is not supported either way:
Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 19
	at okhttp3.internal.platform.AndroidPlatform.<clinit>(AndroidPlatform.kt:232)
---
 vector/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vector/build.gradle b/vector/build.gradle
index 5897cdea7b..43ce2f4091 100644
--- a/vector/build.gradle
+++ b/vector/build.gradle
@@ -109,7 +109,7 @@ android {
         applicationId "de.spiritcroc.riotx"
         // Set to API 19 because motionLayout is min API 18.
         // In the future we may consider using an alternative of MotionLayout to support API 16. But for security reason, maybe not.
-        minSdkVersion 19
+        minSdkVersion 21
         targetSdkVersion 29
         multiDexEnabled true