Skip to content

Commit

Permalink
Fix tool app
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb2060 committed Jun 26, 2023
1 parent b1f6be9 commit 8dfbb8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-app
path: example/build/outputs
path: tool/build/outputs
- name: Upload library
uses: actions/upload-artifact@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private void execCurl(List<String> command) {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(buildView());
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) return;
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) return;
apkPath = getApplicationInfo().sourceDir;
editText.setText("--http3 https://www.cloudflare.com/cdn-cgi/trace");
editText.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER));
Expand Down

0 comments on commit 8dfbb8b

Please sign in to comment.