From 6a5438ba673dc0193668c8851352edcb5d98c672 Mon Sep 17 00:00:00 2001 From: tateisu Date: Thu, 19 Oct 2017 07:34:15 +0900 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E4=BB=98=E3=83=A1=E3=83=87=E3=82=A3?= =?UTF-8?q?=E3=82=A2=E3=81=AE=E8=AA=AC=E6=98=8E=E6=96=87=E3=82=92=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E3=81=99=E3=82=8B=E6=99=82=E3=81=ABUI=E3=82=B9?= =?UTF-8?q?=E3=83=AC=E3=83=83=E3=83=89=E7=B5=A1=E3=81=BF=E3=81=AE=E3=82=A8?= =?UTF-8?q?=E3=83=A9=E3=83=BC=E3=81=8C=E3=81=A7=E3=82=8B=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- app/src/main/java/jp/juggler/subwaytooter/ActPost.java | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2afe007b..ff74fdaf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "jp.juggler.subwaytooter" minSdkVersion 21 targetSdkVersion 26 - versionCode 170 - versionName "1.7.0" + versionCode 171 + versionName "1.7.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/jp/juggler/subwaytooter/ActPost.java b/app/src/main/java/jp/juggler/subwaytooter/ActPost.java index 1198100a..c7b08b1c 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/ActPost.java +++ b/app/src/main/java/jp/juggler/subwaytooter/ActPost.java @@ -1026,8 +1026,13 @@ public class ActPost extends AppCompatActivity implements View.OnClickListener, return isCancelled(); } - @Override public void publishApiProgress( String s ){ - progress.setMessage( s ); + @Override public void publishApiProgress( final String s ){ + Utils.runOnMainThread( new Runnable() { + @Override public void run(){ + progress.setMessage( s ); + } + } ); + } } ); client.setAccount( target_account );