Fix NPE initialising MyPreferencesFragment, part 2
This commit is contained in:
parent
cda621f32b
commit
ff3707d201
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
|
|||
@Override
|
||||
public void setArguments(Bundle args) {
|
||||
super.setArguments(args);
|
||||
id = args.getInt("key");
|
||||
id = args.getInt("id");
|
||||
}
|
||||
|
||||
void addPreferencesFromResourceIfEnabled(PluginBase p, int type) {
|
||||
|
|
Loading…
Reference in a new issue