Commit 0793e6f8 authored by stopcovid@lunabee.com's avatar stopcovid@lunabee.com
Browse files

Update to 1.1.1

parent aa0af79f
......@@ -33,7 +33,7 @@ internal interface StopCovidApi {
@POST("/api/{apiVersion}/captcha")
suspend fun captcha(@Path("apiVersion") apiVersion: String, @Body captchaRQ: CaptchaRQ): Response<ApiCaptchaRS>
@GET("/api/{apiVersion}/captcha/{captchaId}/{type}}")
@GET("/api/{apiVersion}/captcha/{captchaId}/{type}")
suspend fun getCaptcha(@Path("apiVersion") apiVersion: String,
@Path("captchaId") captchaId: String,
@Path("type") type: String): Response<ResponseBody>
......
......@@ -42,8 +42,8 @@ android {
applicationId "fr.gouv.android.stopcovid"
minSdkVersion 21
targetSdkVersion 29
versionCode 38
versionName "1.1.0"
versionCode 39
versionName "1.1.1"
testInstrumentationRunner = 'com.lunabeestudio.stopcovid.TestRunner'
......
......@@ -96,7 +96,6 @@
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
<action android:name="android.intent.action.TIME_TICK" />
<action android:name="android.intent.action.TIME_SET" />
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
</intent-filter>
......
......@@ -20,8 +20,7 @@ class TimeChangeReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
val action = intent.action
if (action == Intent.ACTION_TIME_CHANGED ||
action == Intent.ACTION_TIMEZONE_CHANGED ||
action == Intent.ACTION_TIME_TICK) {
action == Intent.ACTION_TIMEZONE_CHANGED) {
(context.applicationContext as StopCovid).startAppMaintenanceWorker(true)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment