diff --git a/docs/plugin/uts-for-android.md b/docs/plugin/uts-for-android.md index f1b6aaa7b5f24032c53b43d3c6fa1ae7aecb37ba..4c334138bc2f8a2b016471c18e3784d3e4e15e11 100644 --- a/docs/plugin/uts-for-android.md +++ b/docs/plugin/uts-for-android.md @@ -993,15 +993,13 @@ onStatusUpdate(_name:string, _status:Int, _desc:string){ ```uts class CustomThread extends Thread{ - constructor (){ + constructor(){ super(); } override run(){ - for(let i = 1;i < 10;i++){ - Thread.sleep(1000) - console.log("i = " + i) - } + Thread.sleep(1000) + console.log("CustomThread = " + Thread.currentThread().getName()) } } ```