From 06591a9b4e9f88f7ef2319ae7777ce7a5a1da3dd Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Sat, 4 Apr 2015 10:27:54 +0200 Subject: [PATCH] Remove now unused SettingsActivity. --- .../org/yaaic/activity/SettingsActivity.java | 63 ------------------- 1 file changed, 63 deletions(-) delete mode 100644 app/src/main/java/org/yaaic/activity/SettingsActivity.java diff --git a/app/src/main/java/org/yaaic/activity/SettingsActivity.java b/app/src/main/java/org/yaaic/activity/SettingsActivity.java deleted file mode 100644 index 3bc8433..0000000 --- a/app/src/main/java/org/yaaic/activity/SettingsActivity.java +++ /dev/null @@ -1,63 +0,0 @@ -/* -Yaaic - Yet Another Android IRC Client - -Copyright 2009-2013 Sebastian Kaspari - -This file is part of Yaaic. - -Yaaic is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Yaaic is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Yaaic. If not, see . - */ -package org.yaaic.activity; - -import org.yaaic.R; - -import android.app.ActionBar; -import android.os.Bundle; -import android.preference.PreferenceActivity; -import android.view.MenuItem; - -/** - * Settings - * - * @author Sebastian Kaspari - */ -public class SettingsActivity extends PreferenceActivity -{ - /** - * On create - */ - @Override - public void onCreate(Bundle savedInstanceState) - { - super.onCreate(savedInstanceState); - - ActionBar actionBar = getActionBar(); - actionBar.setDisplayHomeAsUpEnabled(true); - - addPreferencesFromResource(R.xml.preferences); - } - - /** - * On menu item selected. - */ - @Override - public boolean onMenuItemSelected(int featureId, MenuItem item) - { - if (item.getItemId() == android.R.id.home) { - finish(); - } - - return true; - } -}