diff options
Diffstat (limited to 'src/de/blinkt/openvpn/VPNPreferences.java')
-rw-r--r-- | src/de/blinkt/openvpn/VPNPreferences.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/VPNPreferences.java b/src/de/blinkt/openvpn/VPNPreferences.java index 700734f1..446a4ca7 100644 --- a/src/de/blinkt/openvpn/VPNPreferences.java +++ b/src/de/blinkt/openvpn/VPNPreferences.java @@ -2,9 +2,11 @@ package de.blinkt.openvpn; import java.util.List; +import android.annotation.TargetApi; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; +import android.os.Build; import android.os.Bundle; import android.preference.PreferenceActivity; import android.view.Menu; @@ -23,7 +25,13 @@ public class VPNPreferences extends PreferenceActivity { } - @Override + @TargetApi(Build.VERSION_CODES.KITKAT) + @Override + protected boolean isValidFragment(String fragmentName) { + return true; + } + + @Override protected void onStop() { super.onStop(); } |