=> 0593bbdf2286e88222316bfd0b5f6b348c60ea73
[1mdiff --git a/CMakeLists.txt b/CMakeLists.txt[m [1mindex 4b1dfef1..0a654d7b 100644[m [1m--- a/CMakeLists.txt[m [1m+++ b/CMakeLists.txt[m [36m@@ -30,8 +30,8 @@[m [mif (IOS)[m endif ()[m if (ANDROID)[m set (PROJECT_VERSION 1.10)[m [31m- set (ANDROID_BUILD_VERSION a3) # remember to update Gradle, AndroidManifest.xml[m [31m- set (ANDROID_BUILD_DATE "2022-01-03")[m [32m+[m[32m set (ANDROID_BUILD_VERSION a4) # remember to update Gradle, AndroidManifest.xml[m [32m+[m[32m set (ANDROID_BUILD_DATE "2022-01-20")[m endif ()[m [m # Defaults that depend on environment.[m [1mdiff --git a/res/about/android-version.gmi b/res/about/android-version.gmi[m [1mindex fc7b444b..c36d5be4 100644[m [1m--- a/res/about/android-version.gmi[m [1m+++ b/res/about/android-version.gmi[m [36m@@ -6,6 +6,11 @@[m ```[m # Release notes[m [m [32m+[m[32m## 1.10 (Alpha 4)[m [32m+[m[32m* Save downloads to the external storage so they're accessible from a file manager.[m [32m+[m[32m* Handle Gemini, Gopher and Finger URIs opened from other apps.[m [32m+[m[32m* Back button dismisses UI panels/dialogs when appropriate instead of navigating back.[m [32m+[m ## 1.10 (Alpha 3)[m * Added Android-specific release notes.[m * Added Settings > UI > Toolbar Actions: customize the two leftmost phone toolbar buttons.[m [1mdiff --git a/src/app.c b/src/app.c[m [1mindex 6392e7fa..a137dc23 100644[m [1m--- a/src/app.c[m [1m+++ b/src/app.c[m [36m@@ -333,7 +333,9 @@[m [mstatic const char *dataDir_App_(void) {[m [m static const char *downloadDir_App_(void) {[m #if defined (iPlatformAndroidMobile)[m [31m- return concatPath_CStr(SDL_AndroidGetInternalStoragePath(), "Downloads");[m [32m+[m[32m const char *dir = concatPath_CStr(SDL_AndroidGetExternalStoragePath(), "Downloads");[m [32m+[m[32m makeDirs_Path(collectNewCStr_String(dir));[m [32m+[m[32m return dir;[m #endif[m #if defined (iPlatformLinux) || defined (iPlatformOther)[m /* Parse user-dirs.dirs using the `xdg-user-dir` tool. */[m [36m@@ -1391,6 +1393,16 @@[m [mvoid processEvents_App(enum iAppEventMode eventMode) {[m ev.key.keysym.mod = mapMods_Keys(ev.key.keysym.mod & ~KMOD_CAPS);[m }[m #if defined (iPlatformAndroidMobile)[m [32m+[m[32m /* Use the system Back button to close panels, if they're open. */[m [32m+[m[32m if (ev.type == SDL_KEYDOWN && ev.key.keysym.sym == SDLK_AC_BACK) {[m [32m+[m[32m SDL_UserEvent panelBackCmd = { .type = SDL_USEREVENT,[m [32m+[m[32m .code = command_UserEventCode,[m [32m+[m[32m .data1 = iDupStr("panel.close"),[m [32m+[m[32m .data2 = d->window->base.keyRoot };[m [32m+[m[32m if (dispatchEvent_Window(&d->window->base, (SDL_Event *) &panelBackCmd)) {[m [32m+[m[32m continue; /* Was handled by someone. */[m [32m+[m[32m }[m [32m+[m[32m }[m /* Ignore all mouse events; just use touch. */[m if (ev.type == SDL_MOUSEBUTTONDOWN ||[m ev.type == SDL_MOUSEBUTTONUP ||[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).