Differential D17818 Diff 48252 src/org/kde/kdeconnect/Plugins/SystemvolumePlugin/SystemvolumeFragment.java
Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/Plugins/SystemvolumePlugin/SystemvolumeFragment.java
Show All 17 Lines | |||||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | package org.kde.kdeconnect.Plugins.SystemvolumePlugin; | 21 | package org.kde.kdeconnect.Plugins.SystemvolumePlugin; | ||
22 | 22 | | |||
23 | import android.app.Activity; | 23 | import android.app.Activity; | ||
24 | import android.content.Context; | 24 | import android.content.Context; | ||
25 | import android.os.Bundle; | 25 | import android.os.Bundle; | ||
26 | import android.support.annotation.NonNull; | | |||
27 | import android.support.annotation.Nullable; | | |||
28 | import android.support.v4.app.ListFragment; | | |||
29 | import android.view.View; | 26 | import android.view.View; | ||
30 | import android.view.ViewGroup; | 27 | import android.view.ViewGroup; | ||
31 | import android.widget.ArrayAdapter; | 28 | import android.widget.ArrayAdapter; | ||
32 | import android.widget.ImageButton; | 29 | import android.widget.ImageButton; | ||
33 | import android.widget.SeekBar; | 30 | import android.widget.SeekBar; | ||
34 | import android.widget.TextView; | 31 | import android.widget.TextView; | ||
35 | 32 | | |||
36 | import org.kde.kdeconnect.BackgroundService; | 33 | import org.kde.kdeconnect.BackgroundService; | ||
37 | import org.kde.kdeconnect_tp.R; | 34 | import org.kde.kdeconnect_tp.R; | ||
38 | 35 | | |||
36 | import androidx.annotation.NonNull; | ||||
37 | import androidx.annotation.Nullable; | ||||
38 | import androidx.fragment.app.ListFragment; | ||||
39 | | ||||
39 | public class SystemvolumeFragment extends ListFragment implements Sink.UpdateListener, SystemvolumePlugin.SinkListener { | 40 | public class SystemvolumeFragment extends ListFragment implements Sink.UpdateListener, SystemvolumePlugin.SinkListener { | ||
40 | 41 | | |||
41 | private SystemvolumePlugin plugin; | 42 | private SystemvolumePlugin plugin; | ||
42 | private Activity activity; | 43 | private Activity activity; | ||
43 | private SinkAdapter adapter; | 44 | private SinkAdapter adapter; | ||
44 | private Context context; | 45 | private Context context; | ||
45 | private boolean tracking; | 46 | private boolean tracking; | ||
46 | 47 | | |||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |