Loading src/com/android/contacts/common/preference/DefaultAccountPreference.java +7 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.app.AlertDialog; import android.content.Context; import android.preference.ListPreference; import android.util.AttributeSet; import android.view.View; import com.android.contacts.common.model.AccountTypeManager; import com.android.contacts.common.model.account.AccountType; Loading @@ -45,6 +46,12 @@ public class DefaultAccountPreference extends ListPreference { prepare(); } @Override protected View onCreateDialogView() { prepare(); return super.onCreateDialogView(); } private void prepare() { mPreferences = new ContactsPreferences(getContext()); mAccountMap = new HashMap<>(); Loading Loading
src/com/android/contacts/common/preference/DefaultAccountPreference.java +7 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.app.AlertDialog; import android.content.Context; import android.preference.ListPreference; import android.util.AttributeSet; import android.view.View; import com.android.contacts.common.model.AccountTypeManager; import com.android.contacts.common.model.account.AccountType; Loading @@ -45,6 +46,12 @@ public class DefaultAccountPreference extends ListPreference { prepare(); } @Override protected View onCreateDialogView() { prepare(); return super.onCreateDialogView(); } private void prepare() { mPreferences = new ContactsPreferences(getContext()); mAccountMap = new HashMap<>(); Loading