Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/UserInterface/PluginSettingsFragment.java
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 33 | public class PluginSettingsFragment extends PreferenceFragmentCompat { | |||
---|---|---|---|---|---|
73 | 73 | | |||
74 | @Override | 74 | @Override | ||
75 | public void onResume() { | 75 | public void onResume() { | ||
76 | super.onResume(); | 76 | super.onResume(); | ||
77 | 77 | | |||
78 | PluginFactory.PluginInfo info = PluginFactory.getPluginInfo(requireContext(), pluginKey); | 78 | PluginFactory.PluginInfo info = PluginFactory.getPluginInfo(requireContext(), pluginKey); | ||
79 | requireActivity().setTitle(getString(R.string.plugin_settings_with_name, info.getDisplayName())); | 79 | requireActivity().setTitle(getString(R.string.plugin_settings_with_name, info.getDisplayName())); | ||
80 | } | 80 | } | ||
81 | | ||||
82 | public String getDeviceId() { | ||||
83 | return ((DeviceSettingsActivity)requireActivity()).getDeviceId(); | ||||
84 | } | ||||
81 | } | 85 | } |