From af9f28c0109dc185af4c5dea61e24a18fe45c74a Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 20 May 2019 13:30:46 +0200 Subject: [PATCH] Remove the failsafe activity The failsafe activity were infrequently used while confusing users. Replace it with an app shortcut on Android 7.1+ and a separate app on earlier versions. --- app/src/main/AndroidManifest.xml | 9 --------- .../java/com/termux/app/TermuxActivity.java | 7 +++++-- .../termux/app/TermuxFailsafeActivity.java | 19 ------------------- app/src/main/res/values/strings.xml | 1 - app/src/main/res/xml/shortcuts.xml | 16 ++++++++++++++++ 5 files changed, 21 insertions(+), 31 deletions(-) delete mode 100644 app/src/main/java/com/termux/app/TermuxFailsafeActivity.java diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bb871229..5405bc92 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -48,15 +48,6 @@ - - - - - - - Termux Termux user - Termux (failsafe) New session Failsafe Keyboard diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml index 08c4bb27..ae2e42f1 100644 --- a/app/src/main/res/xml/shortcuts.xml +++ b/app/src/main/res/xml/shortcuts.xml @@ -1,5 +1,6 @@ + + + + + + + +