Add suppressing warnings for preferences activity.
Change-Id: I7808e8bbc080b65017dc273e423db51c9151d9f7
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user