summaryrefslogtreecommitdiff
path: root/app/src/main/java/de
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-01-16 17:41:47 +0100
committerFup Duck <fupduck@sacknagel.com>2018-01-16 17:42:48 +0100
commit4f536f457da8bb7ab0316f6de7703437ad0ce58f (patch)
tree0ab3e6453a488c7b46854cbcc5ecb286217625da /app/src/main/java/de
parentdeb8f0c1192a36c9aa66ab16bfd5e26357096821 (diff)
resolve commented issues
* recreate activity correctly after changing orientation * replace getApplicationActivity
Diffstat (limited to 'app/src/main/java/de')
-rw-r--r--app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java b/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
index 1576eed5..a1fc7cdc 100644
--- a/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
+++ b/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
@@ -642,8 +642,8 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar.
}
@Override
- public void onAttach(Context context) {
- super.onAttach(context);
+ public void onAttach(Context activity) {
+ super.onAttach(activity);
if (getResources().getBoolean(R.bool.logSildersAlwaysVisible)) {
mShowOptionsLayout = true;
if (mOptionsLayout != null)