support: MasterSwitchPreference: isChecked doesn't rely on existence of switch

When checking for isChecked in e.g. a preferenceFragment, we want to
know the setting value, independent of whether the preference already
has been inflated or not

Change-Id: Ie3e777388805d329fea6f56ef306a4c941993938
1 file changed
tree: afc548c3ccf8216df70d44e6e8295b7bbd0b9bf9
  1. res/
  2. src/
  3. .gitreview
  4. Android.bp
  5. AndroidManifest.xml
  6. common.mk