Skip to content

Commit

Permalink
Update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Dec 6, 2023
1 parent 2b30d3f commit b132457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shell/src/main/java/com/luoye/dpt/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ public class MainActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//以下代码不会被执行,因为运行时被覆盖
//In most cases, as follow code don't be run.
TextView showTextView = findViewById(R.id.show_text);
StringBuilder showText = new StringBuilder();
showText.append("dpt-shell seem not working.\n");
showText.append("Application: ");
showText.append(getApplication().getClass().getName());
showTextView.setText(showText);
Expand Down

0 comments on commit b132457

Please sign in to comment.