mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-27 17:32:54 +01:00
添付メディアの説明文を設定する時にUIスレッド絡みのエラーがでるのを修正
This commit is contained in:
parent
f9f0352d82
commit
6a5438ba67
@ -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"
|
||||
}
|
||||
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user