From 4c8c68359822155f8ebae29aea8b43da799adf7c Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Tue, 30 Oct 2018 21:20:11 -0500 Subject: [PATCH] fix lint --- .../main/java/org/dystopia/email/FragmentMessages.java | 8 -------- app/src/main/res/layout/fragment_messages.xml | 6 ------ app/src/main/res/values-en/strings.xml | 2 +- app/src/main/res/values-es-rES/strings.xml | 6 +++--- 4 files changed, 4 insertions(+), 18 deletions(-) diff --git a/app/src/main/java/org/dystopia/email/FragmentMessages.java b/app/src/main/java/org/dystopia/email/FragmentMessages.java index 2c1d7009..ae764e8f 100644 --- a/app/src/main/java/org/dystopia/email/FragmentMessages.java +++ b/app/src/main/java/org/dystopia/email/FragmentMessages.java @@ -84,7 +84,6 @@ public class FragmentMessages extends FragmentEx { private RecyclerView rvMessage; private BottomNavigationView bottom_navigation; private ProgressBar pbWait; - private Group grpSupport; private Group grpHintSupport; private Group grpHintSwipe; private Group grpHintSelect; @@ -161,7 +160,6 @@ public class FragmentMessages extends FragmentEx { rvMessage = view.findViewById(R.id.rvFolder); bottom_navigation = view.findViewById(R.id.bottom_navigation); pbWait = view.findViewById(R.id.pbWait); - grpSupport = view.findViewById(R.id.grpSupport); grpHintSupport = view.findViewById(R.id.grpHintSupport); grpHintSwipe = view.findViewById(R.id.grpHintSwipe); grpHintSelect = view.findViewById(R.id.grpHintSelect); @@ -841,12 +839,6 @@ public class FragmentMessages extends FragmentEx { } } - @Override - public void onResume() { - super.onResume(); - grpSupport.setVisibility(View.GONE); - } - @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.menu_messages, menu); diff --git a/app/src/main/res/layout/fragment_messages.xml b/app/src/main/res/layout/fragment_messages.xml index 73f466f7..c2b7f45b 100644 --- a/app/src/main/res/layout/fragment_messages.xml +++ b/app/src/main/res/layout/fragment_messages.xml @@ -157,12 +157,6 @@ app:layout_constraintStart_toStartOf="parent" app:menu="@menu/action_messages" /> - - Please describe the problem and indicate the time of the problem: Please describe what you were doing when the app crashed: Privacy policy - SimpleEmail does not collect any information, does not require unnecessary permissions and is 100% Free Software. + SimpleEmail does not collect any information, does not require unnecessary permissions and is 100\% Free Software. Permissions are needed and why • have full network access (INTERNET): to send and receive email • view network connections (ACCESS_NETWORK_STATE): to monitor internet connectivity changes • run at startup (RECEIVE_BOOT_COMPLETED): to start monitoring on device start • foreground service (FOREGROUND_SERVICE): to run a foreground service on Android 9 Pie and later • prevent device from sleeping (WAKE_LOCK): to keep the device awake while synchronizing messages • [Optional] read your contacts (READ_CONTACTS): to autocomplete addresses and to show photos • [Optional] find accounts on the device (GET_ACCOUNTS): to use OAuth instead of passwords diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index e3e85189..46de3b9c 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -250,8 +250,8 @@ Información de depuración Por favor describa el problema e indique el momento del mismo: Por favor describa que estaba haciendo cuando la app falló: - Política de privacidad - SimpleEmail no recopila ninguna información, no requiere permisos innecesarios y es 100% software libre. - Se necesitan permisos y por qué + Política de privacidad + SimpleEmail no recopila ninguna información, no requiere permisos innecesarios y es 100\% software libre. + Se necesitan permisos y por qué • tiene acceso completo a la red (INTERNET): para enviar y recibir correo electrónico • ver conexiones de red (ACCESS_NETWORK_STATE): para monitorear los cambios de conectividad a internet • ejecutar al inicio (RECEIVE_BOOT_COMPLETED): para iniciar el monitoreo en el inicio del dispositivo • Servicio de primer plano (FOREGROUND_SERVICE): para ejecutar un servicio de primer plano en Android 9 Pie y posterior • evitar que el dispositivo entre en suspensión (WAKE_LOCK): para mantener el dispositivo despierto mientras se sincronizan los mensajes • [Opcional] lee tus contactos (READ_CONTACTS): autocompletar direcciones y mostrar fotos • [Opcional] encuentre cuentas en el dispositivo (GET_ACCOUNTS): usar OAuth en lugar de contraseñas