Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TousAntiCovid sources
TousAntiCovid Android
Commits
0793e6f8
Commit
0793e6f8
authored
Jun 30, 2020
by
stopcovid@lunabee.com
Browse files
Update to 1.1.1
parent
aa0af79f
Changes
4
Hide whitespace changes
Inline
Side-by-side
framework/src/main/java/com/lunabeestudio/framework/remote/server/StopCovidApi.kt
View file @
0793e6f8
...
...
@@ -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
>
...
...
stopcovid/build.gradle
View file @
0793e6f8
...
...
@@ -42,8 +42,8 @@ android {
applicationId
"fr.gouv.android.stopcovid"
minSdkVersion
21
targetSdkVersion
29
versionCode
3
8
versionName
"1.1.
0
"
versionCode
3
9
versionName
"1.1.
1
"
testInstrumentationRunner
=
'com.lunabeestudio.stopcovid.TestRunner'
...
...
stopcovid/src/main/AndroidManifest.xml
View file @
0793e6f8
...
...
@@ -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>
...
...
stopcovid/src/main/java/com/lunabeestudio/stopcovid/receiver/TimeChangeReceiver.kt
View file @
0793e6f8
...
...
@@ -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
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment