2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 18:07:55 +00:00

Fragments must be public classes

Otherwise they crash at runtime when launched
This commit is contained in:
Albert Vaca Cintora 2019-03-08 14:50:35 +01:00
parent f568c420fa
commit f48b5612c7
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kdeconnect_tp"
android:versionCode="11100"
android:versionCode="11102"
android:versionName="1.11">
<supports-screens

View File

@ -12,7 +12,7 @@ import androidx.annotation.NonNull;
import androidx.preference.CheckBoxPreference;
import androidx.preference.PreferenceViewHolder;
class PluginPreference extends CheckBoxPreference {
public class PluginPreference extends CheckBoxPreference {
private final Device device;
private final String pluginKey;
private final View.OnClickListener listener;

View File

@ -22,7 +22,7 @@ import androidx.preference.PreferenceScreen;
import androidx.preference.SwitchPreferenceCompat;
import androidx.preference.TwoStatePreference;
class SettingsFragment extends PreferenceFragmentCompat {
public class SettingsFragment extends PreferenceFragmentCompat {
private MainActivity mainActivity;
private EditTextPreference renameDevice;