diff options
author | cretin45 <cretin45@gmail.com> | 2015-08-18 14:02:22 -0700 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-08-18 16:43:34 -0700 |
commit | 62db4521887b19c9adcbfcf5ecf2df27a9447923 (patch) | |
tree | 9ca1da474cb36e3d2bfef16887cd1ed406d7e0e8 /src/com/cyanogenmod/setupwizard/ui | |
parent | ca721f949c5acb705b9728e68b3eaf789cdc960d (diff) | |
download | packages_apps_SetupWizard-62db4521887b19c9adcbfcf5ecf2df27a9447923.zip packages_apps_SetupWizard-62db4521887b19c9adcbfcf5ecf2df27a9447923.tar.gz packages_apps_SetupWizard-62db4521887b19c9adcbfcf5ecf2df27a9447923.tar.bz2 |
SetupWizard: Wait for data sim change
When changing the default data sim for msim, disable the next action until the operation completes.
This PS also refactors how the wait for radio logic a bit.
CRACKLING-503
Change-Id: I38ba3ea00f63d3e42c260e5b0e8558c3bc9d347f
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/ui')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java index afa861a..373e7e8 100644 --- a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java +++ b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java @@ -265,8 +265,8 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks, mButtonBar.setBackgroundResource(R.color.button_bar_background); mNextButton.setCompoundDrawablesWithIntrinsicBounds(null, null, getDrawable(R.drawable.ic_chevron_right_dark), null); - mNextButton.setTextColor(resources.getColor(R.color.button_bar_text)); - mPrevButton.setTextColor(resources.getColor(R.color.button_bar_text)); + mNextButton.setTextColor(resources.getColorStateList(R.color.button_bar_text)); + mPrevButton.setTextColor(resources.getColorStateList(R.color.button_bar_text)); } } |