commit | e1e1cbfc41c5c980b8d3f537afa1b9508625a10f | [log] [tgz] |
---|---|---|
author | Michael Chan | Fri Mar 27 15:06:14 2009 -0700 |
committer | The Android Open Source Project <initial-contribution@android.com> | Fri Mar 27 15:06:14 2009 -0700 |
tree | c300c75005257e184ce84066a544c0f9da3931ad | |
parent | 88fb1069bf254dc68c83546496592a9b5e739a07 [diff] |
AI 143150: Fixed the problem where setEnabled(false) has no effect from onResume(). The problem was that the Preference widget was reenabled when its dependency was in enabled state. The enabled field was basically overloaded. The fix was to add an additional field to keep track of whether its dependencies were met. BUG=1653960 Automated import of CL 143150