Merge "Fix a bug where selected country is reset." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
57824d5aaa
@@ -86,9 +86,10 @@ public final class SupportItemAdapter extends RecyclerView.Adapter<SupportItemAd
|
||||
mHasInternet = true;
|
||||
if (savedInstanceState != null) {
|
||||
mSelectedCountry = savedInstanceState.getString(STATE_SELECTED_COUNTRY);
|
||||
} else {
|
||||
mSelectedCountry = mSupportFeatureProvider.getCurrentCountryCodeIfHasConfig(PHONE);
|
||||
}
|
||||
setAccount(mSupportFeatureProvider.getSupportEligibleAccount(mActivity));
|
||||
mSelectedCountry = mSupportFeatureProvider.getCurrentCountryCodeIfHasConfig(PHONE);
|
||||
refreshData();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user