summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/fragments
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-04-02 01:12:37 +0200
committercyBerta <cyberta@riseup.net>2019-04-02 01:12:37 +0200
commit197f79fa142c2c6bfe2d5e7279c6fad79fa427c2 (patch)
treeffc94f0256206746346fc14da2438c021a0b9f1a /app/src/main/java/se/leap/bitmaskclient/fragments
parent9eb20164f227fb617b2ea9700ebd493f9bf7caa4 (diff)
catch illegal state exceptions when replacing fragments
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/fragments')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/fragments/AboutFragment.java2
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/fragments/LogFragment.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/fragments/AboutFragment.java b/app/src/main/java/se/leap/bitmaskclient/fragments/AboutFragment.java
index 25249371..1a2e2df0 100644
--- a/app/src/main/java/se/leap/bitmaskclient/fragments/AboutFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/fragments/AboutFragment.java
@@ -18,7 +18,7 @@ import static android.view.View.VISIBLE;
public class AboutFragment extends Fragment {
- final public static String TAG = "aboutFragment";
+ final public static String TAG = AboutFragment.class.getSimpleName();
final public static int VIEWED = 0;
@InjectView(R.id.version)
diff --git a/app/src/main/java/se/leap/bitmaskclient/fragments/LogFragment.java b/app/src/main/java/se/leap/bitmaskclient/fragments/LogFragment.java
index 03e0669a..268d326d 100644
--- a/app/src/main/java/se/leap/bitmaskclient/fragments/LogFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/fragments/LogFragment.java
@@ -68,6 +68,7 @@ import se.leap.bitmaskclient.R;
import static de.blinkt.openvpn.core.OpenVPNService.humanReadableByteCount;
public class LogFragment extends ListFragment implements StateListener, SeekBar.OnSeekBarChangeListener, RadioGroup.OnCheckedChangeListener, VpnStatus.ByteCountListener {
+ public static final String TAG = LogFragment.class.getSimpleName();
private static final String LOGTIMEFORMAT = "logtimeformat";
private static final int START_VPN_CONFIG = 0;
private static final String VERBOSITYLEVEL = "verbositylevel";