Merge pull request #10469 from JosJuice/android-remove-legacybooleansetting Android: Get rid of LegacyBooleanSetting