2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00

OPEN_DOCUMENT_TREE needs lollipop

This commit is contained in:
Albert Vaca
2017-02-05 21:39:28 +01:00
parent fe0409e9e7
commit 7045c50c81

View File

@@ -35,7 +35,7 @@ public class ShareSettingsActivity extends PluginSettingsActivity {
final CheckBoxPreference customDownloads = (CheckBoxPreference) findPreference("share_destination_custom");
filePicker = findPreference("share_destination_folder_preference");
if ((Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)) {
if ((Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)) {
customDownloads.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {