diff options
Diffstat (limited to 'src/com')
71 files changed, 0 insertions, 187 deletions
diff --git a/src/com/android/settings/ApnEditor.java b/src/com/android/settings/ApnEditor.java index 4e14c602c..f587b6099 100644 --- a/src/com/android/settings/ApnEditor.java +++ b/src/com/android/settings/ApnEditor.java @@ -26,10 +26,8 @@ import android.content.res.Resources; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; -import android.os.SystemProperties; import android.preference.EditTextPreference; import android.preference.ListPreference; -import android.preference.CheckBoxPreference; import android.preference.Preference; import android.preference.PreferenceActivity; import android.preference.SwitchPreference; @@ -41,11 +39,6 @@ import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; -import com.android.internal.telephony.Phone; -import com.android.internal.telephony.PhoneConstants; -import com.android.internal.telephony.RILConstants; -import com.android.internal.telephony.TelephonyProperties; - public class ApnEditor extends PreferenceActivity implements SharedPreferences.OnSharedPreferenceChangeListener, diff --git a/src/com/android/settings/ApnSettings.java b/src/com/android/settings/ApnSettings.java index 670924c6f..79a38250a 100644 --- a/src/com/android/settings/ApnSettings.java +++ b/src/com/android/settings/ApnSettings.java @@ -35,25 +35,20 @@ import android.os.Looper; import android.os.Message; import android.os.UserManager; import android.preference.Preference; -import android.preference.PreferenceActivity; import android.preference.PreferenceGroup; import android.preference.PreferenceScreen; import android.provider.Telephony; import android.telephony.SubscriptionInfo; import android.telephony.SubscriptionManager; import android.util.Log; -import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; -import android.view.View; import android.widget.TextView; import android.widget.Toast; -import com.android.internal.telephony.Phone; import com.android.internal.telephony.PhoneConstants; import com.android.internal.telephony.TelephonyIntents; -import com.android.internal.telephony.TelephonyProperties; import android.telephony.TelephonyManager; import java.util.ArrayList; diff --git a/src/com/android/settings/AppPicker.java b/src/com/android/settings/AppPicker.java index e58b835a5..1f3d42bd2 100644 --- a/src/com/android/settings/AppPicker.java +++ b/src/com/android/settings/AppPicker.java @@ -24,7 +24,6 @@ import java.util.List; import com.android.settings.applications.AppViewHolder; -import android.app.ActivityManagerNative; import android.app.ListActivity; import android.content.Context; import android.content.Intent; @@ -32,8 +31,6 @@ import android.content.pm.ApplicationInfo; import android.os.Build; import android.os.Bundle; import android.os.Process; -import android.os.RemoteException; -import android.provider.Settings; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/src/com/android/settings/ChooseLockGeneric.java b/src/com/android/settings/ChooseLockGeneric.java index aeb3827d7..6cec42068 100644 --- a/src/com/android/settings/ChooseLockGeneric.java +++ b/src/com/android/settings/ChooseLockGeneric.java @@ -23,7 +23,6 @@ import android.app.Dialog; import android.app.DialogFragment; import android.app.Fragment; import android.app.FragmentManager; -import android.app.PendingIntent; import android.app.admin.DevicePolicyManager; import android.content.Context; import android.content.DialogInterface; @@ -39,13 +38,7 @@ import android.service.fingerprint.FingerprintManager; import android.service.fingerprint.FingerprintManagerReceiver; import android.util.EventLog; import android.util.Log; -import android.util.MutableBoolean; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; import android.view.accessibility.AccessibilityManager; -import android.widget.ListView; - import com.android.internal.widget.LockPatternUtils; import java.util.List; diff --git a/src/com/android/settings/ChooseLockPattern.java b/src/com/android/settings/ChooseLockPattern.java index b64f10254..634346871 100644 --- a/src/com/android/settings/ChooseLockPattern.java +++ b/src/com/android/settings/ChooseLockPattern.java @@ -27,11 +27,9 @@ import static com.android.internal.widget.LockPatternView.DisplayMode; import android.app.Activity; import android.app.Fragment; -import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.os.Bundle; -import android.provider.Settings; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; diff --git a/src/com/android/settings/DataUsageSummary.java b/src/com/android/settings/DataUsageSummary.java index 3ab1d239e..b78cd6ec7 100644 --- a/src/com/android/settings/DataUsageSummary.java +++ b/src/com/android/settings/DataUsageSummary.java @@ -65,7 +65,6 @@ import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.UserInfo; import android.content.res.Resources; -import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; @@ -140,7 +139,6 @@ import com.android.settings.net.UidDetailProvider; import com.android.settings.search.BaseSearchIndexProvider; import com.android.settings.search.Indexable; import com.android.settings.search.SearchIndexableRaw; -import com.android.settings.sim.SimSettings; import com.android.settings.widget.ChartDataUsageView; import com.android.settings.widget.ChartDataUsageView.DataUsageChartListener; import com.android.settings.widget.ChartNetworkSeriesView; diff --git a/src/com/android/settings/DateTimeSettings.java b/src/com/android/settings/DateTimeSettings.java index 6f41fd5b5..be24ffe3f 100644 --- a/src/com/android/settings/DateTimeSettings.java +++ b/src/com/android/settings/DateTimeSettings.java @@ -29,7 +29,6 @@ import android.content.IntentFilter; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.os.Bundle; -import android.preference.ListPreference; import android.preference.Preference; import android.preference.PreferenceScreen; import android.preference.SwitchPreference; diff --git a/src/com/android/settings/DateTimeSettingsSetupWizard.java b/src/com/android/settings/DateTimeSettingsSetupWizard.java index bb2c6da1b..9ad75bed2 100644 --- a/src/com/android/settings/DateTimeSettingsSetupWizard.java +++ b/src/com/android/settings/DateTimeSettingsSetupWizard.java @@ -18,14 +18,10 @@ package com.android.settings; import android.app.Activity; import android.app.AlarmManager; -import android.app.Fragment; -import android.app.FragmentTransaction; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; -import android.content.pm.ActivityInfo; -import android.content.res.Configuration; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceFragment; @@ -42,10 +38,8 @@ import android.widget.Button; import android.widget.CompoundButton; import android.widget.CompoundButton.OnCheckedChangeListener; import android.widget.DatePicker; -import android.widget.LinearLayout; import android.widget.ListPopupWindow; import android.widget.SimpleAdapter; -import android.widget.TextView; import android.widget.TimePicker; import java.util.Calendar; diff --git a/src/com/android/settings/DefaultRingtonePreference.java b/src/com/android/settings/DefaultRingtonePreference.java index 0801b1f0a..4607bcd5c 100644 --- a/src/com/android/settings/DefaultRingtonePreference.java +++ b/src/com/android/settings/DefaultRingtonePreference.java @@ -23,7 +23,6 @@ import android.media.RingtoneManager; import android.net.Uri; import android.preference.RingtonePreference; import android.util.AttributeSet; -import android.util.Log; public class DefaultRingtonePreference extends RingtonePreference { private static final String TAG = "DefaultRingtonePreference"; diff --git a/src/com/android/settings/DeviceAdminSettings.java b/src/com/android/settings/DeviceAdminSettings.java index 0e3dc4270..f0b3070ba 100644 --- a/src/com/android/settings/DeviceAdminSettings.java +++ b/src/com/android/settings/DeviceAdminSettings.java @@ -32,7 +32,6 @@ import android.content.IntentFilter; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.content.res.Resources; -import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.UserHandle; diff --git a/src/com/android/settings/DeviceInfoSettings.java b/src/com/android/settings/DeviceInfoSettings.java index f79707a95..648615a8f 100644 --- a/src/com/android/settings/DeviceInfoSettings.java +++ b/src/com/android/settings/DeviceInfoSettings.java @@ -22,11 +22,8 @@ import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; -import android.os.Binder; import android.os.Build; import android.os.Bundle; -import android.os.Parcel; -import android.os.RemoteException; import android.os.SELinux; import android.os.SystemClock; import android.os.SystemProperties; diff --git a/src/com/android/settings/IccLockSettings.java b/src/com/android/settings/IccLockSettings.java index c389f5ee2..efc5a3c88 100644 --- a/src/com/android/settings/IccLockSettings.java +++ b/src/com/android/settings/IccLockSettings.java @@ -46,9 +46,6 @@ import com.android.internal.telephony.Phone; import com.android.internal.telephony.PhoneFactory; import com.android.internal.telephony.TelephonyIntents; -import java.util.ArrayList; -import java.util.List; - /** * Implements the preference screen to enable/disable ICC lock and * also the dialogs to change the ICC PIN. In the former case, enabling/disabling diff --git a/src/com/android/settings/LocalePicker.java b/src/com/android/settings/LocalePicker.java index c6158b15a..7a8f12095 100644 --- a/src/com/android/settings/LocalePicker.java +++ b/src/com/android/settings/LocalePicker.java @@ -23,11 +23,7 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; -import android.content.Context; - import com.android.settings.SettingsPreferenceFragment.SettingsDialogFragment; -import com.android.settings.DevelopmentSettings; - import java.util.Locale; public class LocalePicker extends com.android.internal.app.LocalePicker diff --git a/src/com/android/settings/MasterClear.java b/src/com/android/settings/MasterClear.java index 9604a3c81..9480f670b 100644 --- a/src/com/android/settings/MasterClear.java +++ b/src/com/android/settings/MasterClear.java @@ -26,7 +26,6 @@ import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.UserInfo; import android.content.res.Resources; -import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Environment; @@ -34,9 +33,7 @@ import android.os.Process; import android.os.SystemProperties; import android.os.UserHandle; import android.os.UserManager; -import android.preference.Preference; import android.util.Log; -import android.util.SparseArray; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/src/com/android/settings/OwnerInfoSettings.java b/src/com/android/settings/OwnerInfoSettings.java index 0761f38b1..c1cacb998 100644 --- a/src/com/android/settings/OwnerInfoSettings.java +++ b/src/com/android/settings/OwnerInfoSettings.java @@ -17,11 +17,9 @@ package com.android.settings; import android.app.Fragment; -import android.content.ContentResolver; import android.os.Bundle; import android.os.UserHandle; import android.os.UserManager; -import android.provider.Settings; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; diff --git a/src/com/android/settings/PrivacySettings.java b/src/com/android/settings/PrivacySettings.java index 2c03352dd..e15029824 100644 --- a/src/com/android/settings/PrivacySettings.java +++ b/src/com/android/settings/PrivacySettings.java @@ -30,7 +30,6 @@ import android.os.ServiceManager; import android.os.UserHandle; import android.os.UserManager; import android.preference.Preference; -import android.preference.PreferenceCategory; import android.preference.Preference.OnPreferenceChangeListener; import android.preference.PreferenceScreen; import android.preference.SwitchPreference; @@ -40,8 +39,6 @@ import android.util.Log; import com.android.settings.search.BaseSearchIndexProvider; import com.android.settings.search.Indexable; -import com.android.settings.search.Indexable.SearchIndexProvider; - import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; diff --git a/src/com/android/settings/ProxySelector.java b/src/com/android/settings/ProxySelector.java index 6941271b1..2c4c47362 100644 --- a/src/com/android/settings/ProxySelector.java +++ b/src/com/android/settings/ProxySelector.java @@ -23,14 +23,12 @@ import android.app.AlertDialog; import android.app.Dialog; import android.app.Fragment; import android.app.admin.DevicePolicyManager; -import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.Proxy; import android.net.ProxyInfo; import android.os.Bundle; -import android.provider.Settings; import android.text.Selection; import android.text.Spannable; import android.text.TextUtils; @@ -44,8 +42,6 @@ import android.widget.Button; import android.widget.EditText; import android.widget.TextView; -import java.net.InetSocketAddress; - public class ProxySelector extends Fragment implements DialogCreatable { private static final String TAG = "ProxySelector"; diff --git a/src/com/android/settings/SecuritySettings.java b/src/com/android/settings/SecuritySettings.java index 053e7f0c2..1f6d50aef 100644 --- a/src/com/android/settings/SecuritySettings.java +++ b/src/com/android/settings/SecuritySettings.java @@ -39,7 +39,6 @@ import android.preference.PreferenceGroup; import android.preference.PreferenceScreen; import android.provider.SearchIndexableResource; import android.provider.Settings; -import android.provider.Settings.SettingNotFoundException; import android.security.KeyStore; import android.service.fingerprint.FingerprintManager; import android.service.fingerprint.FingerprintManager.FingerprintItem; diff --git a/src/com/android/settings/SelectableEditTextPreference.java b/src/com/android/settings/SelectableEditTextPreference.java index 503db1341..c14709f17 100644 --- a/src/com/android/settings/SelectableEditTextPreference.java +++ b/src/com/android/settings/SelectableEditTextPreference.java @@ -18,7 +18,6 @@ package com.android.settings; import android.content.Context; import android.preference.EditTextPreference; -import android.preference.ListPreference; import android.text.TextUtils; import android.util.AttributeSet; import android.view.View; diff --git a/src/com/android/settings/SettingsActivity.java b/src/com/android/settings/SettingsActivity.java index db080c612..11f7a1f2f 100644 --- a/src/com/android/settings/SettingsActivity.java +++ b/src/com/android/settings/SettingsActivity.java @@ -43,7 +43,6 @@ import android.os.RemoteException; import android.os.ServiceManager; import android.os.UserHandle; import android.os.UserManager; -import android.os.storage.StorageManager; import android.preference.Preference; import android.preference.PreferenceFragment; import android.preference.PreferenceManager; @@ -112,8 +111,6 @@ import com.android.settings.wifi.AdvancedWifiSettings; import com.android.settings.wifi.SavedAccessPointsWifiSettings; import com.android.settings.wifi.WifiSettings; import com.android.settings.wifi.p2p.WifiP2pSettings; -import com.android.settings.WifiCallingSettings; - import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; diff --git a/src/com/android/settings/SetupChooseLockGeneric.java b/src/com/android/settings/SetupChooseLockGeneric.java index f29f08a07..10bac1569 100644 --- a/src/com/android/settings/SetupChooseLockGeneric.java +++ b/src/com/android/settings/SetupChooseLockGeneric.java @@ -24,7 +24,6 @@ import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.preference.PreferenceFragment; -import android.util.MutableBoolean; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/src/com/android/settings/SetupWizardUtils.java b/src/com/android/settings/SetupWizardUtils.java index 3d44125c8..c35bb15cb 100644 --- a/src/com/android/settings/SetupWizardUtils.java +++ b/src/com/android/settings/SetupWizardUtils.java @@ -26,7 +26,6 @@ import android.graphics.Color; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; -import android.view.Gravity; import android.view.Window; import android.widget.TextView; diff --git a/src/com/android/settings/SmsDefaultDialog.java b/src/com/android/settings/SmsDefaultDialog.java index 3a3848ba4..e2a3fafc9 100644 --- a/src/com/android/settings/SmsDefaultDialog.java +++ b/src/com/android/settings/SmsDefaultDialog.java @@ -20,8 +20,6 @@ import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; -import android.content.pm.ApplicationInfo; -import android.content.pm.PackageManager; import android.os.Bundle; import android.provider.Telephony.Sms.Intents; import android.telephony.TelephonyManager; diff --git a/src/com/android/settings/TestingSettingsBroadcastReceiver.java b/src/com/android/settings/TestingSettingsBroadcastReceiver.java index 3c4045339..37e0b5024 100644 --- a/src/com/android/settings/TestingSettingsBroadcastReceiver.java +++ b/src/com/android/settings/TestingSettingsBroadcastReceiver.java @@ -1,13 +1,10 @@ package com.android.settings; -import android.provider.Telephony; import static com.android.internal.telephony.TelephonyIntents.SECRET_CODE_ACTION; import android.content.Context; import android.content.Intent; import android.content.BroadcastReceiver; -import android.util.Log; -import android.view.KeyEvent; public class TestingSettingsBroadcastReceiver extends BroadcastReceiver { diff --git a/src/com/android/settings/TetherService.java b/src/com/android/settings/TetherService.java index 03bcc8387..459dc276b 100644 --- a/src/com/android/settings/TetherService.java +++ b/src/com/android/settings/TetherService.java @@ -30,13 +30,11 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.net.ConnectivityManager; -import android.net.wifi.WifiManager; import android.os.IBinder; import android.os.SystemClock; import android.text.TextUtils; import android.util.Log; -import com.android.settings.wifi.WifiApEnabler; import com.android.settingslib.TetherUtil; import java.util.ArrayList; diff --git a/src/com/android/settings/TetherSettings.java b/src/com/android/settings/TetherSettings.java index 393adf643..ca1e8ec5b 100644 --- a/src/com/android/settings/TetherSettings.java +++ b/src/com/android/settings/TetherSettings.java @@ -38,8 +38,6 @@ import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiManager; import android.os.Bundle; import android.os.Environment; -import android.os.SystemProperties; -import android.os.UserHandle; import android.os.UserManager; import android.preference.Preference; import android.preference.PreferenceScreen; diff --git a/src/com/android/settings/TrustedCredentialsSettings.java b/src/com/android/settings/TrustedCredentialsSettings.java index 95a6bf4e6..753afc795 100644 --- a/src/com/android/settings/TrustedCredentialsSettings.java +++ b/src/com/android/settings/TrustedCredentialsSettings.java @@ -22,7 +22,6 @@ import android.app.Fragment; import android.content.Context; import android.content.DialogInterface; import android.content.pm.UserInfo; -import android.content.res.TypedArray; import android.net.http.SslCertificate; import android.os.AsyncTask; import android.os.Bundle; diff --git a/src/com/android/settings/UsageAccessSettings.java b/src/com/android/settings/UsageAccessSettings.java index fd98b51a5..362d27f75 100644 --- a/src/com/android/settings/UsageAccessSettings.java +++ b/src/com/android/settings/UsageAccessSettings.java @@ -17,8 +17,6 @@ package com.android.settings; import com.android.internal.content.PackageMonitor; -import com.android.settings.DataUsageSummary.AppItem; - import android.Manifest; import android.app.ActivityThread; import android.app.AlertDialog; @@ -43,7 +41,6 @@ import android.preference.Preference; import android.preference.PreferenceScreen; import android.preference.SwitchPreference; import android.util.ArrayMap; -import android.util.AttributeSet; import android.util.Log; import android.util.SparseArray; diff --git a/src/com/android/settings/UserSpinnerAdapter.java b/src/com/android/settings/UserSpinnerAdapter.java index 5e2b16f3f..e40a374d5 100644 --- a/src/com/android/settings/UserSpinnerAdapter.java +++ b/src/com/android/settings/UserSpinnerAdapter.java @@ -18,7 +18,6 @@ package com.android.settings; import android.content.Context; import android.content.pm.UserInfo; -import android.content.res.Resources; import android.database.DataSetObserver; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; diff --git a/src/com/android/settings/WirelessSettings.java b/src/com/android/settings/WirelessSettings.java index 71cd3229d..d94b8a703 100644 --- a/src/com/android/settings/WirelessSettings.java +++ b/src/com/android/settings/WirelessSettings.java @@ -47,7 +47,6 @@ import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Log; -import com.android.ims.ImsConfig; import com.android.ims.ImsManager; import com.android.internal.telephony.SmsApplication; import com.android.internal.telephony.SmsApplication.SmsApplicationData; @@ -56,8 +55,6 @@ import com.android.internal.telephony.TelephonyProperties; import com.android.settings.nfc.NfcEnabler; import com.android.settings.search.BaseSearchIndexProvider; import com.android.settings.search.Indexable; -import com.android.settings.WifiCallingSettings; - import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; diff --git a/src/com/android/settings/ZonePicker.java b/src/com/android/settings/ZonePicker.java index 0a9173f05..72e4a03da 100644 --- a/src/com/android/settings/ZonePicker.java +++ b/src/com/android/settings/ZonePicker.java @@ -46,7 +46,6 @@ import java.util.List; import java.util.Locale; import java.util.Map; import java.util.TimeZone; -import libcore.icu.ICU; import libcore.icu.TimeZoneNames; /** diff --git a/src/com/android/settings/accessibility/AccessibilitySettings.java b/src/com/android/settings/accessibility/AccessibilitySettings.java index 7d5171205..f0464abc8 100644 --- a/src/com/android/settings/accessibility/AccessibilitySettings.java +++ b/src/com/android/settings/accessibility/AccessibilitySettings.java @@ -41,10 +41,7 @@ import android.text.TextUtils; import android.text.TextUtils.SimpleStringSplitter; import android.view.KeyCharacterMap; import android.view.KeyEvent; -import android.view.View; import android.view.accessibility.AccessibilityManager; -import android.widget.TextView; - import com.android.internal.content.PackageMonitor; import com.android.internal.view.RotationPolicy; import com.android.internal.view.RotationPolicy.RotationPolicyListener; diff --git a/src/com/android/settings/accessibility/LocalePreference.java b/src/com/android/settings/accessibility/LocalePreference.java index 0a94817c7..10e94a80e 100644 --- a/src/com/android/settings/accessibility/LocalePreference.java +++ b/src/com/android/settings/accessibility/LocalePreference.java @@ -17,17 +17,13 @@ package com.android.settings.accessibility; import android.content.Context; -import android.content.res.Resources; import android.preference.ListPreference; import android.util.AttributeSet; import com.android.internal.app.LocalePicker; import com.android.settings.R; -import java.text.Collator; -import java.util.Arrays; import java.util.List; -import java.util.Locale; /** * List preference that allows the user to pick a locale from the list of diff --git a/src/com/android/settings/accounts/ProviderPreference.java b/src/com/android/settings/accounts/ProviderPreference.java index 399652394..257cd1c48 100644 --- a/src/com/android/settings/accounts/ProviderPreference.java +++ b/src/com/android/settings/accounts/ProviderPreference.java @@ -16,13 +16,9 @@ package com.android.settings.accounts; -import com.android.settings.R; - import android.content.Context; import android.graphics.drawable.Drawable; import android.preference.Preference; -import android.view.View; -import android.widget.ImageView; /** * ProviderPreference is used to display an image to the left of a provider name. diff --git a/src/com/android/settings/applications/AppViewHolder.java b/src/com/android/settings/applications/AppViewHolder.java index d23f18743..c4324d1bc 100644 --- a/src/com/android/settings/applications/AppViewHolder.java +++ b/src/com/android/settings/applications/AppViewHolder.java @@ -2,7 +2,6 @@ package com.android.settings.applications; import com.android.settings.R; -import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; diff --git a/src/com/android/settings/applications/ApplicationsState.java b/src/com/android/settings/applications/ApplicationsState.java index 3f25d4780..3825296e8 100644 --- a/src/com/android/settings/applications/ApplicationsState.java +++ b/src/com/android/settings/applications/ApplicationsState.java @@ -12,7 +12,6 @@ import android.content.pm.IPackageStatsObserver; import android.content.pm.PackageManager; import android.content.pm.PackageStats; import android.content.pm.ParceledListSlice; -import android.content.pm.UserInfo; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Handler; diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index 01527552b..f40bfdcd7 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -44,7 +44,6 @@ import android.os.IBinder; import android.os.RemoteException; import android.os.ServiceManager; import android.os.UserHandle; -import android.os.UserManager; import android.preference.PreferenceFrameLayout; import android.provider.Settings; import android.support.v4.view.PagerAdapter; @@ -61,7 +60,6 @@ import android.view.animation.AnimationUtils; import android.widget.AbsListView; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; -import android.widget.AdapterView.OnItemSelectedListener; import android.widget.BaseAdapter; import android.widget.Filter; import android.widget.Filterable; @@ -73,7 +71,6 @@ import com.android.internal.content.PackageHelper; import com.android.settings.R; import com.android.settings.Settings.RunningServicesActivity; import com.android.settings.Settings.StorageUseActivity; -import com.android.settings.UserSpinnerAdapter; import com.android.settings.Utils; import com.android.settings.applications.ApplicationsState.AppEntry; import com.android.settings.deviceinfo.StorageMeasurement; diff --git a/src/com/android/settings/applications/ProcStatsEntry.java b/src/com/android/settings/applications/ProcStatsEntry.java index 6cb699782..41f7a53b4 100644 --- a/src/com/android/settings/applications/ProcStatsEntry.java +++ b/src/com/android/settings/applications/ProcStatsEntry.java @@ -17,11 +17,9 @@ package com.android.settings.applications; import android.content.pm.ApplicationInfo; -import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.os.Parcel; import android.os.Parcelable; -import android.os.Process; import android.util.ArrayMap; import android.util.Log; import android.util.SparseArray; diff --git a/src/com/android/settings/applications/ProcessStatsPreference.java b/src/com/android/settings/applications/ProcessStatsPreference.java index a0839d3b7..182cf0e12 100644 --- a/src/com/android/settings/applications/ProcessStatsPreference.java +++ b/src/com/android/settings/applications/ProcessStatsPreference.java @@ -26,7 +26,6 @@ import android.view.View; import android.widget.ProgressBar; import android.widget.TextView; import com.android.settings.R; -import com.android.settings.Utils; public class ProcessStatsPreference extends Preference { private ProcStatsPackageEntry mEntry; diff --git a/src/com/android/settings/bluetooth/BluetoothDevicePreference.java b/src/com/android/settings/bluetooth/BluetoothDevicePreference.java index 0bb54b2fd..7bdc1a69d 100644 --- a/src/com/android/settings/bluetooth/BluetoothDevicePreference.java +++ b/src/com/android/settings/bluetooth/BluetoothDevicePreference.java @@ -21,7 +21,6 @@ import static android.os.UserManager.DISALLOW_CONFIG_BLUETOOTH; import android.app.AlertDialog; import android.bluetooth.BluetoothClass; import android.bluetooth.BluetoothDevice; -import android.bluetooth.BluetoothProfile; import android.content.Context; import android.content.DialogInterface; import android.os.UserManager; @@ -37,9 +36,7 @@ import android.widget.ImageView; import com.android.settings.R; import com.android.settings.search.Index; import com.android.settings.search.SearchIndexableRaw; -import com.android.settingslib.bluetooth.A2dpProfile; import com.android.settingslib.bluetooth.CachedBluetoothDevice; -import com.android.settingslib.bluetooth.HeadsetProfile; import com.android.settingslib.bluetooth.HidProfile; import com.android.settingslib.bluetooth.LocalBluetoothProfile; diff --git a/src/com/android/settings/bluetooth/BluetoothPairingDialog.java b/src/com/android/settings/bluetooth/BluetoothPairingDialog.java index 5b54c321d..578528530 100755 --- a/src/com/android/settings/bluetooth/BluetoothPairingDialog.java +++ b/src/com/android/settings/bluetooth/BluetoothPairingDialog.java @@ -17,19 +17,16 @@ package com.android.settings.bluetooth; import android.bluetooth.BluetoothDevice; -import android.bluetooth.BluetoothUuid; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; -import android.os.ParcelUuid; import android.text.Editable; import android.text.Html; import android.text.InputFilter; import android.text.InputType; -import android.text.Spanned; import android.text.TextWatcher; import android.text.InputFilter.LengthFilter; import android.util.Log; diff --git a/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java b/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java index f07a9f2ff..cc98c7b16 100644 --- a/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java +++ b/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java @@ -16,12 +16,8 @@ package com.android.settings.bluetooth; -import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceCategory; diff --git a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java index 89287ab8a..e563e6445 100755 --- a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java +++ b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java @@ -17,7 +17,6 @@ package com.android.settings.bluetooth; import android.app.AlertDialog; -import android.app.Fragment; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothProfile; import android.content.Context; @@ -27,21 +26,12 @@ import android.preference.CheckBoxPreference; import android.preference.EditTextPreference; import android.preference.Preference; import android.preference.PreferenceGroup; -import android.preference.PreferenceScreen; import android.text.Html; import android.text.TextUtils; import android.util.Log; -import android.view.View; import android.widget.EditText; -import android.text.TextWatcher; -import android.app.Dialog; -import android.widget.Button; -import android.text.Editable; - import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; -import com.android.settings.search.Index; -import com.android.settings.search.SearchIndexableRaw; import com.android.settingslib.bluetooth.CachedBluetoothDevice; import com.android.settingslib.bluetooth.CachedBluetoothDeviceManager; import com.android.settingslib.bluetooth.LocalBluetoothManager; diff --git a/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java b/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java index 87a73a702..c30113e8a 100644 --- a/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java +++ b/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java @@ -22,14 +22,11 @@ import com.android.settings.R; import com.android.settingslib.bluetooth.LocalBluetoothAdapter; import com.android.settingslib.bluetooth.LocalBluetoothManager; -import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; -import android.view.View; -import android.widget.TextView; /** * RequestPermissionHelperActivity asks the user whether to enable discovery. diff --git a/src/com/android/settings/dashboard/DashboardCategory.java b/src/com/android/settings/dashboard/DashboardCategory.java index 164d9889f..fedbf0abc 100644 --- a/src/com/android/settings/dashboard/DashboardCategory.java +++ b/src/com/android/settings/dashboard/DashboardCategory.java @@ -19,7 +19,6 @@ package com.android.settings.dashboard; import android.content.res.Resources; import android.os.Parcel; import android.os.Parcelable; -import android.os.Parcelable.Creator; import android.text.TextUtils; import java.util.ArrayList; diff --git a/src/com/android/settings/deviceinfo/ImeiInformation.java b/src/com/android/settings/deviceinfo/ImeiInformation.java index 253e22a11..37b6c1d19 100644 --- a/src/com/android/settings/deviceinfo/ImeiInformation.java +++ b/src/com/android/settings/deviceinfo/ImeiInformation.java @@ -24,14 +24,10 @@ import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceActivity; import android.preference.PreferenceScreen; -import android.telephony.SubscriptionInfo; import android.telephony.SubscriptionManager; import android.telephony.TelephonyManager; import android.text.TextUtils; -import android.util.Log; - import com.android.settings.R; -import java.util.List; public class ImeiInformation extends PreferenceActivity { diff --git a/src/com/android/settings/deviceinfo/SimStatus.java b/src/com/android/settings/deviceinfo/SimStatus.java index db3a49177..e50d0d926 100644 --- a/src/com/android/settings/deviceinfo/SimStatus.java +++ b/src/com/android/settings/deviceinfo/SimStatus.java @@ -22,9 +22,6 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.res.Resources; import android.os.Bundle; -import android.os.ServiceManager; -import android.os.RemoteException; -import android.os.SystemProperties; import android.os.UserHandle; import android.preference.Preference; import android.preference.PreferenceActivity; @@ -36,11 +33,9 @@ import android.telephony.SignalStrength; import android.telephony.SubscriptionInfo; import android.telephony.SubscriptionManager; import android.telephony.TelephonyManager; -import android.provider.Telephony; import android.text.TextUtils; import android.util.Log; -import com.android.internal.telephony.ITelephony; import com.android.internal.telephony.DefaultPhoneNotifier; import com.android.internal.telephony.Phone; import com.android.internal.telephony.PhoneFactory; diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java index 2c9297313..646792cd6 100644 --- a/src/com/android/settings/deviceinfo/Status.java +++ b/src/com/android/settings/deviceinfo/Status.java @@ -24,7 +24,6 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.res.Resources; import android.net.ConnectivityManager; -import android.net.NetworkInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Build; diff --git a/src/com/android/settings/fuelgauge/BatteryHistoryPreference.java b/src/com/android/settings/fuelgauge/BatteryHistoryPreference.java index e7326b16f..b615ffddf 100644 --- a/src/com/android/settings/fuelgauge/BatteryHistoryPreference.java +++ b/src/com/android/settings/fuelgauge/BatteryHistoryPreference.java @@ -18,14 +18,10 @@ package com.android.settings.fuelgauge; import android.content.Context; import android.content.Intent; -import android.graphics.drawable.Drawable; import android.os.BatteryStats; import android.preference.Preference; import android.view.View; import android.view.ViewGroup; -import android.widget.ImageView; -import android.widget.TextView; - import com.android.settings.R; /** diff --git a/src/com/android/settings/inputmethod/KeyboardLayoutPickerFragment.java b/src/com/android/settings/inputmethod/KeyboardLayoutPickerFragment.java index 645695ecb..3562cb4b5 100644 --- a/src/com/android/settings/inputmethod/KeyboardLayoutPickerFragment.java +++ b/src/com/android/settings/inputmethod/KeyboardLayoutPickerFragment.java @@ -16,7 +16,6 @@ package com.android.settings.inputmethod; -import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; import android.content.Context; diff --git a/src/com/android/settings/inputmethod/UserDictionaryLocalePicker.java b/src/com/android/settings/inputmethod/UserDictionaryLocalePicker.java index b9ccdfdfc..c3c42370c 100644 --- a/src/com/android/settings/inputmethod/UserDictionaryLocalePicker.java +++ b/src/com/android/settings/inputmethod/UserDictionaryLocalePicker.java @@ -16,8 +16,6 @@ package com.android.settings.inputmethod; -import java.util.Locale; - public class UserDictionaryLocalePicker extends com.android.internal.app.LocalePicker { public UserDictionaryLocalePicker(final UserDictionaryAddWordFragment parent) { super(); diff --git a/src/com/android/settings/location/LocationSettings.java b/src/com/android/settings/location/LocationSettings.java index ba5cd9248..1ed2ece3e 100644 --- a/src/com/android/settings/location/LocationSettings.java +++ b/src/com/android/settings/location/LocationSettings.java @@ -21,7 +21,6 @@ import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.location.SettingInjectorService; -import android.os.Binder; import android.os.Bundle; import android.os.UserHandle; import android.os.UserManager; @@ -29,8 +28,6 @@ import android.preference.Preference; import android.preference.PreferenceCategory; import android.preference.PreferenceGroup; import android.preference.PreferenceScreen; -import android.preference.SwitchPreference; -import android.provider.Settings; import android.util.Log; import android.widget.Switch; diff --git a/src/com/android/settings/location/RecentLocationApps.java b/src/com/android/settings/location/RecentLocationApps.java index c134889a7..d7b62e711 100644 --- a/src/com/android/settings/location/RecentLocationApps.java +++ b/src/com/android/settings/location/RecentLocationApps.java @@ -31,9 +31,6 @@ import android.os.UserHandle; import android.os.UserManager; import android.preference.Preference; import android.util.Log; -import android.view.View; -import android.widget.TextView; - import com.android.settings.R; import com.android.settings.SettingsActivity; import com.android.settings.applications.InstalledAppDetails; diff --git a/src/com/android/settings/location/SettingsInjector.java b/src/com/android/settings/location/SettingsInjector.java index f0a0ff354..ef6117b2c 100644 --- a/src/com/android/settings/location/SettingsInjector.java +++ b/src/com/android/settings/location/SettingsInjector.java @@ -39,8 +39,6 @@ import android.util.AttributeSet; import android.util.Log; import android.util.Xml; -import com.android.settings.R; - import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; diff --git a/src/com/android/settings/notification/AppNotificationSettings.java b/src/com/android/settings/notification/AppNotificationSettings.java index 67a80744f..bad43cc4b 100644 --- a/src/com/android/settings/notification/AppNotificationSettings.java +++ b/src/com/android/settings/notification/AppNotificationSettings.java @@ -29,11 +29,6 @@ import android.provider.Settings; import android.text.TextUtils; import android.util.ArrayMap; import android.util.Log; -import android.view.View; -import android.view.View.OnClickListener; -import android.view.ViewGroup; -import android.widget.ImageView; -import android.widget.TextView; import android.widget.Toast; import com.android.internal.widget.LockPatternUtils; diff --git a/src/com/android/settings/print/PrintJobSettingsFragment.java b/src/com/android/settings/print/PrintJobSettingsFragment.java index ccdfc0e90..978e4d6b2 100644 --- a/src/com/android/settings/print/PrintJobSettingsFragment.java +++ b/src/com/android/settings/print/PrintJobSettingsFragment.java @@ -16,7 +16,6 @@ package com.android.settings.print; -import android.app.ActivityManager; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Bundle; diff --git a/src/com/android/settings/print/PrintSettingsFragment.java b/src/com/android/settings/print/PrintSettingsFragment.java index 581321b1f..3e989e4a8 100644 --- a/src/com/android/settings/print/PrintSettingsFragment.java +++ b/src/com/android/settings/print/PrintSettingsFragment.java @@ -16,7 +16,6 @@ package com.android.settings.print; -import android.app.ActivityManager; import android.app.LoaderManager.LoaderCallbacks; import android.content.AsyncTaskLoader; import android.content.ComponentName; @@ -33,7 +32,6 @@ import android.os.Handler; import android.os.Message; import android.os.UserHandle; import android.os.UserManager; -import android.os.Process; import android.preference.Preference; import android.preference.PreferenceCategory; import android.preference.PreferenceScreen; @@ -58,7 +56,6 @@ import android.widget.TextView; import com.android.internal.content.PackageMonitor; import com.android.settings.UserSpinnerAdapter; -import com.android.settings.UserSpinnerAdapter.UserDetails; import com.android.settings.DialogCreatable; import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; diff --git a/src/com/android/settings/sim/SimDialogActivity.java b/src/com/android/settings/sim/SimDialogActivity.java index e9234d739..97762c42b 100644 --- a/src/com/android/settings/sim/SimDialogActivity.java +++ b/src/com/android/settings/sim/SimDialogActivity.java @@ -19,7 +19,6 @@ package com.android.settings.sim; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; -import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.res.Resources; @@ -30,8 +29,6 @@ import android.telecom.TelecomManager; import android.telephony.SubscriptionInfo; import android.telephony.SubscriptionManager; import android.telephony.TelephonyManager; -import android.text.TextUtils; -import android.util.Log; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; @@ -44,9 +41,6 @@ import android.widget.Toast; import com.android.settings.R; import com.android.settings.Utils; -import com.android.internal.telephony.Phone; -import com.android.internal.telephony.PhoneFactory; - import java.util.ArrayList; import java.util.Iterator; import java.util.List; diff --git a/src/com/android/settings/tts/TextToSpeechSettings.java b/src/com/android/settings/tts/TextToSpeechSettings.java index b16ab5604..fa61aec2c 100644 --- a/src/com/android/settings/tts/TextToSpeechSettings.java +++ b/src/com/android/settings/tts/TextToSpeechSettings.java @@ -28,7 +28,6 @@ import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.ContentResolver; import android.content.Intent; -import android.os.AsyncTask; import android.os.Bundle; import android.preference.ListPreference; import android.preference.Preference; diff --git a/src/com/android/settings/users/AppRestrictionsFragment.java b/src/com/android/settings/users/AppRestrictionsFragment.java index 53fdf1b28..74ee6d96b 100644 --- a/src/com/android/settings/users/AppRestrictionsFragment.java +++ b/src/com/android/settings/users/AppRestrictionsFragment.java @@ -31,7 +31,6 @@ import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.ResolveInfo; import android.content.res.Resources; -import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.os.AsyncTask; import android.os.Bundle; @@ -60,8 +59,6 @@ import android.widget.Switch; import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; import com.android.settings.Utils; -import com.android.settings.drawable.CircleFramedDrawable; - import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; diff --git a/src/com/android/settings/users/ProfileUpdateReceiver.java b/src/com/android/settings/users/ProfileUpdateReceiver.java index 955ee4dac..69484f7f7 100644 --- a/src/com/android/settings/users/ProfileUpdateReceiver.java +++ b/src/com/android/settings/users/ProfileUpdateReceiver.java @@ -22,8 +22,6 @@ import android.content.Intent; import android.content.SharedPreferences; import android.os.UserHandle; import android.os.UserManager; -import android.provider.ContactsContract.CommonDataKinds.Phone; - import com.android.settings.Utils; diff --git a/src/com/android/settings/users/UserSettings.java b/src/com/android/settings/users/UserSettings.java index e54ea9f12..ff06b690d 100644 --- a/src/com/android/settings/users/UserSettings.java +++ b/src/com/android/settings/users/UserSettings.java @@ -56,7 +56,6 @@ import android.view.View; import android.view.View.OnClickListener; import android.widget.SimpleAdapter; -import com.android.internal.util.UserIcons; import com.android.internal.widget.LockPatternUtils; import com.android.settings.ChooseLockGeneric; import com.android.settings.OwnerInfoSettings; diff --git a/src/com/android/settings/vpn2/VpnDialog.java b/src/com/android/settings/vpn2/VpnDialog.java index 9ef269b5f..2f95bce84 100644 --- a/src/com/android/settings/vpn2/VpnDialog.java +++ b/src/com/android/settings/vpn2/VpnDialog.java @@ -31,7 +31,6 @@ import android.view.View; import android.view.WindowManager; import android.widget.AdapterView; import android.widget.ArrayAdapter; -import android.widget.Button; import android.widget.CheckBox; import android.widget.Spinner; import android.widget.TextView; diff --git a/src/com/android/settings/vpn2/VpnSettings.java b/src/com/android/settings/vpn2/VpnSettings.java index 751639273..c6c35468a 100644 --- a/src/com/android/settings/vpn2/VpnSettings.java +++ b/src/com/android/settings/vpn2/VpnSettings.java @@ -45,10 +45,8 @@ import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView.AdapterContextMenuInfo; -import android.widget.AdapterView.OnItemSelectedListener; import android.widget.ArrayAdapter; import android.widget.ListView; -import android.widget.Spinner; import android.widget.TextView; import android.widget.Toast; diff --git a/src/com/android/settings/wfd/WifiDisplaySettings.java b/src/com/android/settings/wfd/WifiDisplaySettings.java index fdaa042c6..9f3ac8267 100755 --- a/src/com/android/settings/wfd/WifiDisplaySettings.java +++ b/src/com/android/settings/wfd/WifiDisplaySettings.java @@ -16,8 +16,6 @@ package com.android.settings.wfd; -import android.app.ActionBar; -import android.app.Activity; import android.app.AlertDialog; import android.app.Service; import android.content.BroadcastReceiver; diff --git a/src/com/android/settings/widget/ChartGridView.java b/src/com/android/settings/widget/ChartGridView.java index 4cd6f5f90..b9516ab3a 100644 --- a/src/com/android/settings/widget/ChartGridView.java +++ b/src/com/android/settings/widget/ChartGridView.java @@ -29,15 +29,11 @@ import android.text.Layout; import android.text.StaticLayout; import android.text.TextPaint; import android.util.AttributeSet; -import android.util.Log; -import android.util.TypedValue; import android.view.View; import com.android.internal.util.Preconditions; import com.android.settings.R; -import java.util.Locale; - /** * Background of {@link ChartView} that renders grid lines as requested by * {@link ChartAxis#getTickPoints()}. diff --git a/src/com/android/settings/widget/StickyHeaderListView.java b/src/com/android/settings/widget/StickyHeaderListView.java index 3d9f1584b..a2ff51b4d 100644 --- a/src/com/android/settings/widget/StickyHeaderListView.java +++ b/src/com/android/settings/widget/StickyHeaderListView.java @@ -21,7 +21,6 @@ import android.content.Context; import android.graphics.Canvas; import android.graphics.RectF; import android.util.AttributeSet; -import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.WindowInsets; diff --git a/src/com/android/settings/widget/SwitchBar.java b/src/com/android/settings/widget/SwitchBar.java index c15ac41f7..606ceaa1e 100644 --- a/src/com/android/settings/widget/SwitchBar.java +++ b/src/com/android/settings/widget/SwitchBar.java @@ -21,7 +21,6 @@ import android.content.res.TypedArray; import android.os.Parcel; import android.os.Parcelable; import android.util.AttributeSet; -import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/src/com/android/settings/wifi/WifiAPITest.java b/src/com/android/settings/wifi/WifiAPITest.java index 4a9a0757c..1b5d875bc 100644 --- a/src/com/android/settings/wifi/WifiAPITest.java +++ b/src/com/android/settings/wifi/WifiAPITest.java @@ -20,7 +20,6 @@ import com.android.settings.R; import android.app.AlertDialog; import android.content.DialogInterface; -import android.content.Intent; import android.net.wifi.WifiManager; import android.os.Bundle; diff --git a/src/com/android/settings/wifi/WifiScanModeActivity.java b/src/com/android/settings/wifi/WifiScanModeActivity.java index 4133eb819..e495dddc7 100644 --- a/src/com/android/settings/wifi/WifiScanModeActivity.java +++ b/src/com/android/settings/wifi/WifiScanModeActivity.java @@ -29,7 +29,6 @@ import android.content.pm.PackageManager; import android.net.wifi.WifiManager; import android.os.Bundle; import android.provider.Settings; -import android.util.Log; /** * This activity requests users permission to allow scanning even when Wi-Fi is turned off diff --git a/src/com/android/settings/wifi/WriteWifiConfigToNfcDialog.java b/src/com/android/settings/wifi/WriteWifiConfigToNfcDialog.java index 87850e558..97f45aabe 100644 --- a/src/com/android/settings/wifi/WriteWifiConfigToNfcDialog.java +++ b/src/com/android/settings/wifi/WriteWifiConfigToNfcDialog.java @@ -34,13 +34,11 @@ import android.text.Editable; import android.text.InputType; import android.text.TextWatcher; import android.util.Log; -import android.view.Gravity; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.Button; import android.widget.CheckBox; import android.widget.CompoundButton; -import android.widget.LinearLayout; import android.widget.ProgressBar; import android.widget.TextView; |