Fix build for Q commits

Change-Id: I7835fd469a15c240d224e3eaf88592b1acdc3207
diff --git a/src/com/custom/ambient/display/DozeSettings.java b/src/com/custom/ambient/display/DozeSettings.java
index 3fce455..542ffcf 100644
--- a/src/com/custom/ambient/display/DozeSettings.java
+++ b/src/com/custom/ambient/display/DozeSettings.java
@@ -103,7 +103,7 @@
             mAmbientDisplayPreference.setOnPreferenceChangeListener(this);
 
             mDozeOnChargePreference =
-                (SwitchPreference) findPreference(Utils.OMNI_DOZE_ON_CHARGE);
+                (SwitchPreference) findPreference(Utils.DOZE_ON_CHARGE);
             mDozeOnChargePreference.setChecked(Utils.dozeOnChargeEnabled(mContext));
             mDozeOnChargePreference.setOnPreferenceChangeListener(this);
 
@@ -162,7 +162,7 @@
                 mAmbientDisplayPreference.setChecked(value);
                 Utils.enableDoze(value, mContext);
                 return true;
-            } else if (Utils.OMNI_DOZE_ON_CHARGE.equals(key)) {
+            } else if (Utils.DOZE_ON_CHARGE.equals(key)) {
                 mDozeOnChargePreference.setChecked(value);
                 Utils.enableDozeOnCharge(value, mContext);
                 return true;
diff --git a/src/com/custom/ambient/display/Utils.java b/src/com/custom/ambient/display/Utils.java
index 93813cb..6d22aff 100644
--- a/src/com/custom/ambient/display/Utils.java
+++ b/src/com/custom/ambient/display/Utils.java
@@ -37,7 +37,7 @@
     private static final String DOZE_INTENT = "com.android.systemui.doze.pulse";
 
     protected static final String AOD_KEY = "always_on_ambient";
-    protected static final String OMNI_DOZE_ON_CHARGE = "doze_on_charge";
+    protected static final String DOZE_ON_CHARGE = "doze_on_charge";
     protected static final String AMBIENT_DISPLAY_KEY = "ambient_display";
     protected static final String PICK_UP_KEY = "pick_up";
     protected static final String GESTURE_HAND_WAVE_KEY = "gesture_hand_wave";
@@ -96,7 +96,7 @@
 
     protected static boolean dozeOnChargeEnabled(Context context) {
         return Settings.System.getInt(context.getContentResolver(),
-                Settings.System.OMNI_DOZE_ON_CHARGE, 0) != 0;
+                Settings.System.DOZE_ON_CHARGE, 0) != 0;
     }
 
     protected static boolean tiltGestureEnabled(Context context) {
@@ -123,7 +123,7 @@
 
     protected static boolean enableDozeOnCharge(boolean enable, Context context) {
         boolean enabled = Settings.System.putInt(context.getContentResolver(),
-                Settings.System.OMNI_DOZE_ON_CHARGE, enable ? 1 : 0);
+                Settings.System.DOZE_ON_CHARGE, enable ? 1 : 0);
         manageService(context);
         return enabled;
     }