diff options
author | cyberta <cyberta@riseup.net> | 2020-07-25 14:25:29 -0700 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2020-07-25 14:25:29 -0700 |
commit | 16230c193a7b9a9035e790caf4b1c19fa3b7c048 (patch) | |
tree | 0f4da005b0c8579d3313583e27be89b41f33b27e /app/src/main/java | |
parent | 32c0ca9f843f80fb3a6541fe1938a2cab1047483 (diff) | |
parent | 0cccd75c756f8b5ba26601986bba8ffb501dfcf7 (diff) |
Merge branch 'riseup_background_compatibility' into 'master'
fix android 4 UI bugs
See merge request leap/bitmask_android!112
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/FragmentManagerEnhanced.java | 1 | ||||
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/FragmentManagerEnhanced.java b/app/src/main/java/se/leap/bitmaskclient/FragmentManagerEnhanced.java index 4d0d4785..f4215e89 100644 --- a/app/src/main/java/se/leap/bitmaskclient/FragmentManagerEnhanced.java +++ b/app/src/main/java/se/leap/bitmaskclient/FragmentManagerEnhanced.java @@ -34,7 +34,6 @@ public class FragmentManagerEnhanced { if (previousFragment != null) { transaction.remove(previousFragment); } - transaction.addToBackStack(null); return transaction; } diff --git a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java index 4f555f94..44258a7b 100644 --- a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java @@ -19,9 +19,10 @@ package se.leap.bitmaskclient; import android.content.Intent; import android.os.Bundle; -import androidx.annotation.NonNull; import android.widget.ListView; +import androidx.annotation.NonNull; + import com.pedrogomez.renderers.Renderer; import java.util.ArrayList; @@ -31,7 +32,6 @@ import javax.inject.Inject; import butterknife.InjectView; import butterknife.OnItemClick; -import se.leap.bitmaskclient.fragments.AboutFragment; import static se.leap.bitmaskclient.Constants.REQUEST_CODE_ADD_PROVIDER; import static se.leap.bitmaskclient.Constants.REQUEST_CODE_CONFIGURE_LEAP; |