Fix typo
This commit is contained in:
parent
b3a3f2b930
commit
cc80a2a758
|
@ -34,7 +34,7 @@ public class Compatibility {
|
||||||
"notification_ringtone",
|
"notification_ringtone",
|
||||||
"notification_headsup",
|
"notification_headsup",
|
||||||
"vibrate_on_notification");
|
"vibrate_on_notification");
|
||||||
private static final List<String> UNUESD_SETTINGS_PRE_TWENTYSIX =
|
private static final List<String> UNUSED_SETTINGS_PRE_TWENTYSIX =
|
||||||
Collections.singletonList("message_notification_settings");
|
Collections.singletonList("message_notification_settings");
|
||||||
|
|
||||||
public static boolean hasStoragePermission(Context context) {
|
public static boolean hasStoragePermission(Context context) {
|
||||||
|
@ -115,7 +115,7 @@ public class Compatibility {
|
||||||
for (String key :
|
for (String key :
|
||||||
(runsTwentySix()
|
(runsTwentySix()
|
||||||
? UNUSED_SETTINGS_POST_TWENTYSIX
|
? UNUSED_SETTINGS_POST_TWENTYSIX
|
||||||
: UNUESD_SETTINGS_PRE_TWENTYSIX)) {
|
: UNUSED_SETTINGS_PRE_TWENTYSIX)) {
|
||||||
Preference preference = settingsFragment.findPreference(key);
|
Preference preference = settingsFragment.findPreference(key);
|
||||||
if (preference != null) {
|
if (preference != null) {
|
||||||
for (PreferenceCategory category : categories) {
|
for (PreferenceCategory category : categories) {
|
||||||
|
|
Loading…
Reference in a new issue