Commit f48b5612 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora
Browse files

Fragments must be public classes

Otherwise they crash at runtime when launched
parent f568c420
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kdeconnect_tp" package="org.kde.kdeconnect_tp"
android:versionCode="11100" android:versionCode="11102"
android:versionName="1.11"> android:versionName="1.11">
<supports-screens <supports-screens
......
...@@ -12,7 +12,7 @@ import androidx.annotation.NonNull; ...@@ -12,7 +12,7 @@ import androidx.annotation.NonNull;
import androidx.preference.CheckBoxPreference; import androidx.preference.CheckBoxPreference;
import androidx.preference.PreferenceViewHolder; import androidx.preference.PreferenceViewHolder;
class PluginPreference extends CheckBoxPreference { public class PluginPreference extends CheckBoxPreference {
private final Device device; private final Device device;
private final String pluginKey; private final String pluginKey;
private final View.OnClickListener listener; private final View.OnClickListener listener;
......
...@@ -22,7 +22,7 @@ import androidx.preference.PreferenceScreen; ...@@ -22,7 +22,7 @@ import androidx.preference.PreferenceScreen;
import androidx.preference.SwitchPreferenceCompat; import androidx.preference.SwitchPreferenceCompat;
import androidx.preference.TwoStatePreference; import androidx.preference.TwoStatePreference;
class SettingsFragment extends PreferenceFragmentCompat { public class SettingsFragment extends PreferenceFragmentCompat {
private MainActivity mainActivity; private MainActivity mainActivity;
private EditTextPreference renameDevice; private EditTextPreference renameDevice;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment