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: 28e9951f2c92a1888c91d1683ba4795ed1401210
  1. res/
  2. src/
  3. Android.bp
  4. AndroidManifest.xml