diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-12-19 13:27:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-19 13:27:15 +0000 |
commit | 664f5ce9605b580b9500547fff1e54eac553f295 (patch) | |
tree | c1500f8d0110c9657d1a66c5ad9bad6a6acc16f4 /build/android/app | |
parent | 025035db5c87e9eaa9f83859f860539fc4fb4dc0 (diff) | |
download | minetest-664f5ce9605b580b9500547fff1e54eac553f295.tar.gz minetest-664f5ce9605b580b9500547fff1e54eac553f295.tar.bz2 minetest-664f5ce9605b580b9500547fff1e54eac553f295.zip |
Add open user data button to main menu (#10579)
Diffstat (limited to 'build/android/app')
-rw-r--r-- | build/android/app/src/main/java/net/minetest/minetest/GameActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/android/app/src/main/java/net/minetest/minetest/GameActivity.java b/build/android/app/src/main/java/net/minetest/minetest/GameActivity.java index db126a2b9..38a388230 100644 --- a/build/android/app/src/main/java/net/minetest/minetest/GameActivity.java +++ b/build/android/app/src/main/java/net/minetest/minetest/GameActivity.java @@ -142,8 +142,8 @@ public class GameActivity extends NativeActivity { return getResources().getDisplayMetrics().widthPixels; } - public void openURL(String url) { - Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); + public void openURI(String uri) { + Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); startActivity(browserIntent); } } |