Merged origin.

This commit is contained in:
nightoftune 2019-02-17 19:43:43 +01:00
parent 2aeb993f2c
commit 4b9e9f0ee8
3 changed files with 3 additions and 7 deletions

View File

@ -5,7 +5,6 @@ import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceCategory;
import android.preference.PreferenceFragment;
import android.support.annotation.Nullable;
import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.activities.AbstractSettingsActivity;
@ -29,7 +28,7 @@ public class TaskerActivity extends AbstractSettingsActivity {
public static class TaskerFragment extends PreferenceFragment {
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.tasker_preferences);
final PreferenceCategory group = (PreferenceCategory) findPreference(TaskerConstants.ACTIVITY_TASKER_GROUP);

View File

@ -8,8 +8,6 @@ import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.preference.PreferenceScreen;
import android.preference.SwitchPreference;
import android.support.annotation.Nullable;
import android.support.v4.app.NavUtils;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
@ -82,7 +80,7 @@ public class TaskerEventActivity extends AbstractSettingsActivity {
private List<ButtonPreference> tasks = new ArrayList<>();
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setPreferenceScreen(getPreferenceManager().createPreferenceScreen(getActivity()));
device = (TaskerDevice) getArguments().get(TaskerConstants.INTENT_DEVICE);

View File

@ -8,7 +8,6 @@ import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.preference.PreferenceManager;
import android.preference.PreferenceScreen;
import android.support.annotation.Nullable;
import android.view.KeyEvent;
import nodomain.freeyourgadget.gadgetbridge.activities.AbstractSettingsActivity;
@ -39,7 +38,7 @@ public class TaskerEventsActivity extends AbstractSettingsActivity {
public static class TaskerEventsFragment extends PreferenceFragment {
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setPreferenceScreen(getPreferenceManager().createPreferenceScreen(getActivity()));
if (getArguments().get(TaskerConstants.INTENT_DEVICE) == null) {