Merge \\"Fix a bug where selected country is reset.\\" into nyc-mr1-dev am: 57824d5aaa

am: 8ea45ff337

Change-Id: I18b4ed3a9f502bdb5cd06dcadad495d40714319b
This commit is contained in:
Fan Zhang
2016-06-30 17:06:04 +00:00
committed by android-build-merger

View File

@@ -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();
}