Add suppressing warnings for preferences activity.

Change-Id: I7808e8bbc080b65017dc273e423db51c9151d9f7
This commit is contained in:
Artur Dryomov
2013-09-05 20:21:00 +03:00
parent f9e830d714
commit c37cd33fad

View File

@@ -27,9 +27,10 @@ public class SettingsActivity extends SherlockPreferenceActivity {
getSupportActionBar().setHomeButtonEnabled(true);
}
@SuppressWarnings("deprecation")
private void setUpPreferences() {
// This action is deprecated
// but we still need to target pre-Honeycomb devices
// but we still need to target pre-Honeycomb devices.
addPreferencesFromResource(R.xml.preferences);
}