Fix NPE initialising MyPreferencesFragment, part 2

This commit is contained in:
Johannes Mockenhaupt 2017-11-08 15:07:10 +01:00
parent cda621f32b
commit ff3707d201
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -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) {