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
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

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base