From 3c27619fb3618391e167313b2799b4d8c4fa2eab Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Tue, 4 Jan 2022 00:49:13 +0000 Subject: [PATCH] LineageSettings: Remove long dead notification count settings Change-Id: I4a19cdaf31283da398a46784c4ba5763beb8c658 --- api/lineage_current.txt | 1 - host/migration/src/LineageSettings.java | 11 ++--------- .../java/lineageos/providers/LineageSettings.java | 13 +------------ 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/api/lineage_current.txt b/api/lineage_current.txt index 442a2ab3..440698d2 100644 --- a/api/lineage_current.txt +++ b/api/lineage_current.txt @@ -812,7 +812,6 @@ package lineageos.providers { field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; - field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; field public static final java.lang.String STYLUS_ICON_ENABLED = "stylus_icon_enabled"; diff --git a/host/migration/src/LineageSettings.java b/host/migration/src/LineageSettings.java index 20d0fb35..2a161911 100644 --- a/host/migration/src/LineageSettings.java +++ b/host/migration/src/LineageSettings.java @@ -1,6 +1,6 @@ /** - * Copyright (c) 2015, The CyanogenMod Project - * Copyright (C) 2019 The LineageOS Project + * Copyright (C) 2015 The CyanogenMod Project + * 2019-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -453,12 +453,6 @@ public final class LineageSettings { */ public static final String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; - /** - * Show the pending notification counts as overlays on the status bar - * @hide - */ - public static final String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; - /** * Call recording format value * 0: AMR_WB @@ -612,7 +606,6 @@ public final class LineageSettings { LineageSettings.System.VOLBTN_MUSIC_CONTROLS, LineageSettings.System.SWAP_VOLUME_KEYS_ON_ROTATION, LineageSettings.System.USE_EDGE_SERVICE_FOR_GESTURES, - LineageSettings.System.STATUS_BAR_NOTIF_COUNT, LineageSettings.System.CALL_RECORDING_FORMAT, LineageSettings.System.NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL, LineageSettings.System.NOTIFICATION_LIGHT_SCREEN_ON, diff --git a/sdk/src/java/lineageos/providers/LineageSettings.java b/sdk/src/java/lineageos/providers/LineageSettings.java index 228410f8..2fc5275b 100644 --- a/sdk/src/java/lineageos/providers/LineageSettings.java +++ b/sdk/src/java/lineageos/providers/LineageSettings.java @@ -1,6 +1,6 @@ /** * Copyright (C) 2015-2016 The CyanogenMod Project - * 2017-2021 The LineageOS Project + * 2017-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1692,15 +1692,6 @@ public final class LineageSettings { public static final Validator USE_EDGE_SERVICE_FOR_GESTURES_VALIDATOR = sBooleanValidator; - /** - * Show the pending notification counts as overlays on the status bar - */ - public static final String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; - - /** @hide */ - public static final Validator STATUS_BAR_NOTIF_COUNT_VALIDATOR = - sBooleanValidator; - /** * Call recording format value * 0: AMR_WB @@ -2096,7 +2087,6 @@ public final class LineageSettings { LineageSettings.System.STATUS_BAR_BRIGHTNESS_CONTROL, LineageSettings.System.VOLBTN_MUSIC_CONTROLS, LineageSettings.System.USE_EDGE_SERVICE_FOR_GESTURES, - LineageSettings.System.STATUS_BAR_NOTIF_COUNT, LineageSettings.System.CALL_RECORDING_FORMAT, LineageSettings.System.NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL, LineageSettings.System.NOTIFICATION_LIGHT_SCREEN_ON, @@ -2237,7 +2227,6 @@ public final class LineageSettings { VALIDATORS.put(VOLBTN_MUSIC_CONTROLS, VOLBTN_MUSIC_CONTROLS_VALIDATOR); VALIDATORS.put(USE_EDGE_SERVICE_FOR_GESTURES, USE_EDGE_SERVICE_FOR_GESTURES_VALIDATOR); - VALIDATORS.put(STATUS_BAR_NOTIF_COUNT, STATUS_BAR_NOTIF_COUNT_VALIDATOR); VALIDATORS.put(CALL_RECORDING_FORMAT, CALL_RECORDING_FORMAT_VALIDATOR); VALIDATORS.put(BATTERY_LIGHT_BRIGHTNESS_LEVEL, BATTERY_LIGHT_BRIGHTNESS_LEVEL_VALIDATOR);