diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-05-28 02:18:34 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-28 02:18:34 +0000 |
commit | 626820962830cd9200f00b7447bddf2c717ecdc1 (patch) | |
tree | 540ae34e4f28efd6b14291a05bd67f7c1ae7e2d3 /src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java | |
parent | 73f2110e0a31e252c76b3fa41d8014449a1da4b5 (diff) | |
parent | 1e52db8063a0be2254097b4d85527a91d141b505 (diff) | |
download | packages_apps_Settings-626820962830cd9200f00b7447bddf2c717ecdc1.tar.gz packages_apps_Settings-626820962830cd9200f00b7447bddf2c717ecdc1.tar.bz2 packages_apps_Settings-626820962830cd9200f00b7447bddf2c717ecdc1.zip |
Merge "Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads"
Diffstat (limited to 'src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java')
-rw-r--r-- | src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java b/src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java index b910f796a..a39c5d8f1 100644 --- a/src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java +++ b/src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java @@ -80,7 +80,7 @@ public class ToggleDaltonizerPreferenceFragment extends ToggleFeaturePreferenceF protected void onInstallSwitchBarToggleSwitch() { super.onInstallSwitchBarToggleSwitch(); - mToggleSwitch.setCheckedInternal( + mSwitchBar.setSwitchChecked( Settings.Secure.getInt(getContentResolver(), ENABLED, 0) == 1); mSwitchBar.addOnSwitchChangeListener(this); } |