Skip to content

Commit 0f7ab22

Browse files
committed
add 100ms delay when reset application to make sure http response returned
1 parent e554466 commit 0f7ab22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ext {
6868
siteUrl = 'https://github.com/mmin18/LayoutCast'
6969
gitUrl = 'https://github.com/mmin18/LayoutCast.git'
7070

71-
libraryVersion = '1.1.2'
71+
libraryVersion = '1.1.3'
7272

7373
developerId = 'mmin18'
7474
developerName = 'mmin18'
@@ -87,7 +87,7 @@ apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.
8787
ext {
8888
PUBLISH_GROUP_ID = 'com.github.mmin18.layoutcast'
8989
PUBLISH_ARTIFACT_ID = 'library'
90-
PUBLISH_VERSION = '1.1.2'
90+
PUBLISH_VERSION = '1.1.3'
9191
}
9292

9393
apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'

library/src/com/github/mmin18/layoutcast/ResetActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void reset() {
4545
HANDLER.removeCallbacks(reset);
4646
long d = SystemClock.uptimeMillis() - createTime;
4747
if (d > RESET_WAIT) {
48-
HANDLER.post(reset);
48+
HANDLER.postDelayed(reset, 100);
4949
} else {
5050
HANDLER.postDelayed(reset, RESET_WAIT - d);
5151
}

libs/lcast.jar

-4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)