From 467eb946922f3c70b9c556fb5f3f47c94f1df9c4 Mon Sep 17 00:00:00 2001 From: meefik Date: Sat, 2 Mar 2019 23:12:30 +0300 Subject: [PATCH] Release 2.3.0 --- CHANGELOG.md | 9 ++++ app/build.gradle | 4 +- app/src/main/assets/env | 2 +- .../linuxdeploy/RepositoryActivity.java | 54 ++++++++++--------- app/src/main/res/values-de/strings.xml | 2 +- app/src/main/res/values-es/strings.xml | 2 +- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values-in/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 2 +- app/src/main/res/values-ko/strings.xml | 2 +- app/src/main/res/values-pl/strings.xml | 2 +- app/src/main/res/values-pt/strings.xml | 2 +- app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values-sk/strings.xml | 2 +- app/src/main/res/values-vi/strings.xml | 2 +- app/src/main/res/values-zh/strings.xml | 2 +- app/src/main/res/values/strings.xml | 4 +- 17 files changed, 54 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6119bdc1..5ac54d59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [2.3.0] - 2019-03-02 +### Changed +- Code refactoring and migrated to AndroidX (issue #1058) + +### Fixed +- Fixed start on boot on Android 8.1 (issue #1041) +- Fixed notification channels (issue #1059) +- Fixed Arch Linux bootstrap (issue #1055) + ## [2.2.2] - 2018-11-25 ### Changed - Have separate source/target inputs for mounts (issue #1019) diff --git a/app/build.gradle b/app/build.gradle index 74de0815..3bb56d98 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId 'ru.meefik.linuxdeploy' minSdkVersion 15 targetSdkVersion 28 - versionCode 244 - versionName "2.2.2" + versionCode 245 + versionName "2.3.0" } buildTypes { release { diff --git a/app/src/main/assets/env b/app/src/main/assets/env index 434e41e7..c8d78a58 160000 --- a/app/src/main/assets/env +++ b/app/src/main/assets/env @@ -1 +1 @@ -Subproject commit 434e41e7823632886675d06587683f4ad2371135 +Subproject commit c8d78a5818a4b17740c16a0ec393c60f42e8e6d6 diff --git a/app/src/main/java/ru/meefik/linuxdeploy/RepositoryActivity.java b/app/src/main/java/ru/meefik/linuxdeploy/RepositoryActivity.java index 0cd5f248..7160af1a 100644 --- a/app/src/main/java/ru/meefik/linuxdeploy/RepositoryActivity.java +++ b/app/src/main/java/ru/meefik/linuxdeploy/RepositoryActivity.java @@ -39,7 +39,7 @@ public class RepositoryActivity extends AppCompatActivity { private List> profiles = new ArrayList<>(); - private ArrayAdapter adapter; + private ArrayAdapter> adapter; private boolean isDonated() { return getPackageManager().checkSignatures(getPackageName(), "ru.meefik.donate") @@ -115,31 +115,33 @@ public View getView(int position, View convertView, ViewGroup parent) { String desc = profiles.get(position).get("DESC"); String type = profiles.get(position).get("TYPE"); int iconRes = R.raw.linux; - switch (type) { - case "archlinux": - iconRes = R.raw.archlinux; - break; - case "centos": - iconRes = R.raw.centos; - break; - case "debian": - iconRes = R.raw.debian; - break; - case "fedora": - iconRes = R.raw.fedora; - break; - case "gentoo": - iconRes = R.raw.gentoo; - break; - case "kalilinux": - iconRes = R.raw.kalilinux; - break; - case "slackware": - iconRes = R.raw.slackware; - break; - case "ubuntu": - iconRes = R.raw.ubuntu; - break; + if (type != null) { + switch (type) { + case "archlinux": + iconRes = R.raw.archlinux; + break; + case "centos": + iconRes = R.raw.centos; + break; + case "debian": + iconRes = R.raw.debian; + break; + case "fedora": + iconRes = R.raw.fedora; + break; + case "gentoo": + iconRes = R.raw.gentoo; + break; + case "kalilinux": + iconRes = R.raw.kalilinux; + break; + case "slackware": + iconRes = R.raw.slackware; + break; + case "ubuntu": + iconRes = R.raw.ubuntu; + break; + } } InputStream imageStream = view.getResources().openRawResource(iconRes); Bitmap bitmap = BitmapFactory.decodeStream(imageStream); diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 1ae7a5f8..b8dd790f 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -56,7 +56,7 @@ SSH VNC Framebuffer - This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Installieren Configure FB: X Eigenschaften diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 673ce199..9fee1da0 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -80,7 +80,7 @@ VNC Framebuffer \nHelp Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]> - This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Configurar Instalar Mostrar información de depuración diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index d3deac77..85d845c9 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -80,7 +80,7 @@ VNC Tampon de trame \nHelp Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]> - This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Configurer Installer Affiche les informations de débugage diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 9667a02b..4467313f 100755 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -306,6 +306,6 @@ "Paksa refresh framebuffer" "\nBantuan\n\nAplikasi ini untuk menginstal distribusi GNU/Linux yang dipilih dan menjalankannya dalam container chroot.\n\nProsedur:\n1. Dapatkan hak istimewa superuser (root).\n2. Periksa koneksi Internet.\n3. Tentukan pilihan instalasi.\n4. Jalankan instalasi (\"Menu => Install\").\n5. Tunggu sampai penginstalan selesai.\n6. Ketuk tombol \"START\" untuk menjalankan container.\n7. Sambungkan melalui CLI, SSH, VNC, atau lainnya.\n\nUntuk informasi lebih lanjut, lihat \"Tentang\"." - "Aplikasi ini untuk menginstal distribusi GNU/Linux yang dipilih dan menjalankannya dalam container chroot.\n\nUntuk informasi lebih lanjut, lihat halaman project, forum atau situs pengembang.\n\n© 2012-2018 Anton Skshidlevsky, GPLv3" + "Aplikasi ini untuk menginstal distribusi GNU/Linux yang dipilih dan menjalankannya dalam container chroot.\n\nUntuk informasi lebih lanjut, lihat halaman project, forum atau situs pengembang.\n\n© 2012-2019 Anton Skshidlevsky, GPLv3" \ No newline at end of file diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 243c8687..96b8436f 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -80,7 +80,7 @@ VNC Framebuffer \nHelp Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]> - This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Configura Installa Mostra informazioni di debug diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 8f7bea7a..79aa63aa 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -300,6 +300,6 @@ 강제로 Framebuffer 새로고침 \n도움말\n\n이 응용 프로그램은 GNU/Linux 배포판을 설치하고 chroot로 마운트 하는 프로그램 입니다.\n\n순서 :\n1. 루트 권한을 허용해 주세요. (루팅해야 합니다.)\n2. 이 경로를 통해 BusyBox를 설치하세요. (반드시 이 BusyBox로 설치하셔야 합니다.)\n3. 인터넷 연결을 확인하세요.\n4. 밑에 있는 다운로드 아이콘을 눌러서 설치 환경을 설정하세요.\n5. 설치버튼을 누르세요.\n6. 설치가 모두 다되는동안 기다리세요.\n7. \"START\" 버튼을 눌러서 시작하세요.\n8. CLI, SSH, VNC 등으로 리눅스에 연결하세요.\n\n자세한 내용은 \"정보\" 를 참고해 주세요.\n\n만약 설치 및 실행하는데 오류가 발생한다면 이 링크로 가셔서 문제 해결방법을 보세요.\n\n버그 신고는 여기(한글가능, Github 아이디 필요) 로 해 주세요. - 이 응용 프로그램은 GNU/Linux 배포판을 설치하고 chroot로 마운트 하는 프로그램 입니다.\n\n자세한 내용은 프로젝트 사이트, 포럼(러시아어) 또는 개발자 사이트(러시아어) 를 확인하세요.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + 이 응용 프로그램은 GNU/Linux 배포판을 설치하고 chroot로 마운트 하는 프로그램 입니다.\n\n자세한 내용은 프로젝트 사이트, 포럼(러시아어) 또는 개발자 사이트(러시아어) 를 확인하세요.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 5d45d135..2d55690b 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -167,7 +167,7 @@ Zatrzymaj Android UI Zatrzymaj Android UI \nPomoc\n\nTa aplikacja instaluje wybraną dystrybucję GNU/Linux i uruchamia ją w środowisku chroot.\n\nProcedura:\n1. Zdobądź uprawnienia root.\n2. Sprawdź połączenie internetowe.\n3. Określ ustawienia instalacji.\n4. Rozpocznij instalację (\"Właściwości => Instaluj\").\n5. Poczekaj do zakończenia instalacji.\n6. Naciśnij przycisk \"URUCHOM\", aby uruchomić profil.\n7. Połącz się używając CLI, SSH, VNC lub innych.\n\nAby uzyskać więcej informacji zobacz \"O programie\". - Ta aplikacja instaluje wybraną dystrybucję GNU/Linux i uruchamia ją w środowisku chroot.\n\nAby uzyskać więcej informacji zobacz stronę projektu, forum lub stronę programisty.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + Ta aplikacja instaluje wybraną dystrybucję GNU/Linux i uruchamia ją w środowisku chroot.\n\nAby uzyskać więcej informacji zobacz stronę projektu, forum lub stronę programisty.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Profile Zarządzanie Konfiguruj diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 80a1723b..88b03a05 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -167,7 +167,7 @@ Congelar UI do Android Congelar UI do Android \nAjuda\n\nEssa aplicação instala a distribuição GNU/Linux selecionada e a executa em um container chroot.\n\nProcesso:\n1. Conseguir privilégios de super-usuário (root).\n2. Instalar BusyBox.\n3. Verificar conexão com a Internet.\n4. Especificar as opções da instalação.\n5. Iniciar a instalação (\"Propriedades => Instalar\").\n6. Esperar até que a instalação seja concluída.\n7. Apertar o botão \"INICIAR\" para executar o container.\n8. Conectar ao container através de CLI, SSH, VNC ou outros.\n\nPara mais informações, veja \"Sobre\". - Essa aplicação instala a distribuição GNU/Linux e a executa em um container chroot.\n\nPara mais informações veja página do projeto, fórum ou site do desenvolvedor.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + Essa aplicação instala a distribuição GNU/Linux e a executa em um container chroot.\n\nPara mais informações veja página do projeto, fórum ou site do desenvolvedor.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Gestão Configurar GUI diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index fa5381db..234495ee 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -86,7 +86,7 @@ VNC Framebuffer \nСправка\n\nПриложение устанавливает выбранный GNU/Linux дистрибутив и запускает его в chroot-контейнере.\n\nПорядок действий:\n1. Получить права суперпользователя (root).\n2. Проверить подключение к интернету.\n3. Указать параметры установки.\n4. Запустить установку (\"Меню => Установить\").\n5. Дождаться окончания установки.\n6. Запустить контейнер кнопкой \"СТАРТ\".\n7. Подключиться к контейнеру через CLI, SSH, VNC или др.\n\nДополнительную информацию см. в разделе \"О программе\". - Приложение устанавливает выбранный GNU/Linux дистрибутив и запускает его в chroot-контейнере.\n\nЗа дополнительной информацией обращайтесь на страницу проекта, форум или сайт разработчика.\n\n© 2012–2018 Антон Скшидлевский, GPLv3 + Приложение устанавливает выбранный GNU/Linux дистрибутив и запускает его в chroot-контейнере.\n\nЗа дополнительной информацией обращайтесь на страницу проекта, форум или сайт разработчика.\n\n© 2012–2019 Антон Скшидлевский, GPLv3 Включить отображение отладочной информации Вычисляется автоматически Принудительно обновлять фреймбуфер diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index e3270eeb..1ca174c2 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -72,7 +72,7 @@ VNC Framebuffer \nPomocník Inštalácia\").\n5. Počkajte, kým sa dokončí inštalácia.\n6. Ťuknite na tlačidlo \"SPUSTIŤ\" na spustenie kontajnera.\n7. Pripojte sa ku kontajneru pomocou CLI, SSH, VNC, alebo iným spôsobom.\n\nPre viac informácií si prezrite \"O aplikácii\".]]> - Táto aplikácia nainštaluje vybratú distribúciu systému GNU/Linux a spustí ju v kontajneri chroot.\n\nPre viac informácií si prezrite stránku projektu, fórum alebo stránku vývojára.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + Táto aplikácia nainštaluje vybratú distribúciu systému GNU/Linux a spustí ju v kontajneri chroot.\n\nPre viac informácií si prezrite stránku projektu, fórum alebo stránku vývojára.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 O aplikácii Skončiť Nastavenia diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index 5b98ea71..78c340fe 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -80,7 +80,7 @@ VNC Đệm khung \nHelp Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]> - This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Cấu hình lại Cài đặt Hiện thông tin gỡ lỗi diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 27545485..6d5d641c 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -322,7 +322,7 @@ 强制刷新帧缓冲区 \n帮助:\n\n本应用程序安装选定的 GNU/Linux 发行版,并在 chroot 容器中执运行。\n\n使用步骤:\n1. 给本应用 超级用户(Root) 权限。\n2. 正常连接至互联网。\n3. 配置安装选项。\n4. 开始安装(\"菜单(右上角)\" => \"安装\")。\n5. 等待安装完成。\n6. 点击\"启动\"按钮来启动容器。\n7. 通过 CLI、SSH、VNC 等方式连接容器。\n\n更多内容,详见\"关于\"。 - 本应用程序安装选定的 GNU/Linux 发行版,并在 chroot 容器中执运行。\n\n有关更多信息,请参阅: Github 论坛项目官方网站。\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 + 本应用程序安装选定的 GNU/Linux 发行版,并在 chroot 容器中执运行。\n\n有关更多信息,请参阅: Github 论坛项目官方网站。\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index abb7e486..1b698ef1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -351,8 +351,8 @@ \nHelp\n\nThis application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nProcedure:\n1. Get superuser privileges (root).\n2. Check the connection to Internet.\n3. Specify the installation options.\n4. Start the installation (\"Menu => Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\". - This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3 - Channel to display service notifications. + This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see project page, forum or developer site.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3 Services + Channel to display service notifications