Settings: Move force dark mode to dark mode settings

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2025-08-20 00:51:50 +05:30
committed by Joey
parent 2d2fc07f94
commit f3b6cea771
5 changed files with 7 additions and 7 deletions

View File

@@ -793,7 +793,6 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new DebugGpuOverdrawPreferenceController(context));
controllers.add(new DebugNonRectClipOperationsPreferenceController(context));
controllers.add(new GameDefaultFrameRatePreferenceController(context));
controllers.add(new ForceDarkPreferenceController(context));
controllers.add(new ForceMSAAPreferenceController(context));
controllers.add(new HardwareOverlaysPreferenceController(context));
controllers.add(new SimulateColorSpacePreferenceController(context));

View File

@@ -75,6 +75,7 @@ public class DarkModeSettingsFragment extends DashboardFragment {
DARK_THEME_END_TIME, this);
controllers.add(mCustomStartController);
controllers.add(mCustomEndController);
controllers.add(new ForceDarkPreferenceController(context));
return controllers;
}

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.settings.development;
package com.android.settings.display.darkmode;
import android.content.Context;
import android.os.SystemProperties;