From: kfl_614 Date: Fri, 30 Oct 2020 07:19:04 +0000 (+0800) Subject: AK\A9 Launcher update gradle X-Git-Url: http://git.snicker.com.cn/Users/apple/Desktop/static/gitweb.css?a=commitdiff_plain;h=f02ff119d608347f0b3f0284dd2f5315112bc250;p=aklauncher.git AK\A9 Launcher update gradle --- diff --git a/app/build.gradle b/app/build.gradle index 69ae875..da6f6ab 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,12 +98,12 @@ static def releaseTime() { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'androidx.constraintlayout:constraintlayout:2.0.2' implementation 'androidx.legacy:legacy-support-v4:1.0.0' testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test.ext:junit:1.1.1' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' + androidTestImplementation 'androidx.test.ext:junit:1.1.2' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' // ViewModel implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0" @@ -119,8 +119,10 @@ dependencies { implementation "androidx.viewpager2:viewpager2:1.0.0" implementation 'com.jakewharton.threetenabp:threetenabp:1.2.2' - implementation 'com.jakewharton:butterknife:10.2.1' - annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1' + implementation "com.google.android.material:material:1.3.0-alpha03" + + implementation 'com.jakewharton:butterknife:10.2.3' + annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3' implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' diff --git a/app/src/main/java/com/ic/ak/launcher/ui/MainActivity.java b/app/src/main/java/com/ic/ak/launcher/ui/MainActivity.java index 38d5c9a..ae2a040 100644 --- a/app/src/main/java/com/ic/ak/launcher/ui/MainActivity.java +++ b/app/src/main/java/com/ic/ak/launcher/ui/MainActivity.java @@ -82,13 +82,13 @@ public class MainActivity extends AppCompatActivity { ServiceUtil.startServiceUtil(getApplicationContext(), "com.ic.action.WORK_SERVICE", getPackageName()); - handler = new TestHandler(this); + //handler = new TestHandler(this); } @Override protected void onResume() { super.onResume(); - handler.sendEmptyMessageDelayed(1,5000); + //handler.sendEmptyMessageDelayed(1,5000); } @Override