From 9f8703df560ee38a3936978c96ed42283415b009 Mon Sep 17 00:00:00 2001 From: androidacy-user Date: Wed, 7 Dec 2022 15:59:26 -0500 Subject: [PATCH] Fix tests, again Who even messed them up, anyway? *looks away* Signed-off-by: androidacy-user --- app/build.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bccb006..b90279c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -59,12 +59,12 @@ android { buildConfigField "boolean", "DEFAULT_ENABLE_CRASH_REPORTING", "true" // Get the androidacy client ID from the androidacy.properties Properties properties = new Properties() - // If androidacy.properties doesn't exist, use the default client ID (an empty string - // - won't work, but it's better than failing to build) + // If androidacy.properties doesn't exist, use the default client ID which is heavily + // rate limited to 30 requests per minute if (project.rootProject.file('androidacy.properties').exists()) { properties.load(project.rootProject.file('androidacy.properties').newDataInputStream()) } else { - properties.setProperty('client_id', '') + properties.setProperty('client_id', '5KYccdYxWB2RxMq5FTbkWisXi2dS6yFN9R7RVlFCG98FRdz6Mf5ojY2fyJCUlXJZ') } buildConfigField("String", "ANDROIDACY_CLIENT_ID", properties.getProperty('client_id')) // If client ID is empty, disable androidacy @@ -99,12 +99,12 @@ android { // Get the androidacy client ID from the androidacy.properties Properties properties = new Properties() - // If androidacy.properties doesn't exist, use the default client ID (an empty string - // - won't work, but it's better than failing to build) + // If androidacy.properties doesn't exist, use the default client ID which is limited + // to 50 requests per minute if (project.rootProject.file('androidacy.properties').exists()) { properties.load(project.rootProject.file('androidacy.properties').newDataInputStream()) } else { - properties.setProperty('client_id', '') + properties.setProperty('client_id', 'dQ1p7X8bF14PVJ7wAU6ORVjPB2IeTinsuAZ8Uos6tQiyUdUyIjSyZSmN54QBbaTy') } buildConfigField("String", "ANDROIDACY_CLIENT_ID", properties.getProperty('client_id')) }