From 166558433eff903969ef3fb405410def88924f72 Mon Sep 17 00:00:00 2001 From: Kr328 <39107975+Kr328@users.noreply.github.com> Date: Thu, 19 Dec 2019 21:54:31 +0800 Subject: [PATCH] decrease start on boot delay --- app/build.gradle | 4 ++-- app/src/main/java/com/github/kr328/clash/ClashStartService.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 08b5184..3d1cc4a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { applicationId "com.github.kr328.clash" minSdkVersion 24 targetSdkVersion 29 - versionCode 10025 - versionName "1.0.25-alpha" + versionCode 10026 + versionName "1.0.26-alpha" } buildTypes { release { diff --git a/app/src/main/java/com/github/kr328/clash/ClashStartService.kt b/app/src/main/java/com/github/kr328/clash/ClashStartService.kt index 092200e..1a2325a 100644 --- a/app/src/main/java/com/github/kr328/clash/ClashStartService.kt +++ b/app/src/main/java/com/github/kr328/clash/ClashStartService.kt @@ -40,7 +40,7 @@ class ClashStartService : Service() { startForeground(NOTIFICATION_ID, notification) thread { - Thread.sleep(5000) + Thread.sleep(1000) ServiceUtils.startProxyService(this)