From 3ec8de2273c9c66eae360f32b99f84b2d1576a2e Mon Sep 17 00:00:00 2001 From: xuezaiyue Date: Thu, 26 May 2022 15:38:59 +0800 Subject: [PATCH] Define setting name ADAPTIVE_CHARGING_ENABLED. Test: manual Bug: 230386304 Change-Id: I65508f99b7754e152009c2d6f4cb868ccb46d4de --- core/java/android/provider/Settings.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index d1ff9f79d96a5..eca36a16fcba2 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10870,6 +10870,15 @@ public final class Settings { public static final String LAUNCHER_TASKBAR_EDUCATION_SHOWING = "launcher_taskbar_education_showing"; + /** + * Whether or not adaptive charging feature is enabled by user. + * Type: int (0 for false, 1 for true) + * Default: 1 + * + * @hide + */ + public static final String ADAPTIVE_CHARGING_ENABLED = "adaptive_charging_enabled"; + /** * These entries are considered common between the personal and the managed profile, * since the managed profile doesn't get to change them.