Skip to content

Commit

Permalink
Update version to 2.2.4, Fixed startActivityForResult with wrong requ…
Browse files Browse the repository at this point in the history
…est code
  • Loading branch information
hearsilent committed Apr 30, 2016
1 parent e28e276 commit 8a41baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
applicationId "tw.edu.kuas.wifiautologin"
minSdkVersion 9
targetSdkVersion 23
versionCode 223
versionName "2.2.3"
versionCode 224
versionName "2.2.4"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void logout() {
if (!Utils.checkSystemWritePermission(this)) {
mTracker.send(new HitBuilders.EventBuilder().setCategory("Write System Permission")
.setAction("Denied").setLabel(Utils.getPhoneName()).build());
Utils.showSystemWritePermissionDialog(this, REQUEST_WRITE_SYSTEM_SETTINGS_LOGIN);
Utils.showSystemWritePermissionDialog(this, REQUEST_WRITE_SYSTEM_SETTINGS_LOGOUT);
return;
} else {
mTracker.send(new HitBuilders.EventBuilder().setCategory("Write System Permission")
Expand Down Expand Up @@ -240,7 +240,7 @@ private void saveAndLogin() {
if (!Utils.checkSystemWritePermission(this)) {
mTracker.send(new HitBuilders.EventBuilder().setCategory("Write System Permission")
.setAction("Denied").setLabel(Utils.getPhoneName()).build());
Utils.showSystemWritePermissionDialog(this, REQUEST_WRITE_SYSTEM_SETTINGS_LOGOUT);
Utils.showSystemWritePermissionDialog(this, REQUEST_WRITE_SYSTEM_SETTINGS_LOGIN);
enableViews();
return;
} else {
Expand Down

0 comments on commit 8a41baa

Please sign in to comment.