diff options
author | Fup Duck <fupduck@sacknagel.com> | 2018-01-16 17:41:47 +0100 |
---|---|---|
committer | Fup Duck <fupduck@sacknagel.com> | 2018-01-16 17:42:48 +0100 |
commit | 4f536f457da8bb7ab0316f6de7703437ad0ce58f (patch) | |
tree | 0ab3e6453a488c7b46854cbcc5ecb286217625da /app/src/main/java/de | |
parent | deb8f0c1192a36c9aa66ab16bfd5e26357096821 (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.java | 4 |
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) |