diff --git a/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java b/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java index a347783..63ba767 100644 --- a/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java +++ b/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java @@ -1,6 +1,6 @@ /* * Copyright (C) 2015-2016 The CyanogenMod Project - * 2017 The LineageOS Project + * 2017-2024 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. @@ -20,7 +20,6 @@ package org.lineageos.settings.doze; import android.os.Bundle; import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity; -import com.android.settingslib.widget.R; public class DozeSettingsActivity extends CollapsingToolbarBaseActivity { private static final String TAG_DOZE = "doze"; @@ -31,7 +30,8 @@ public class DozeSettingsActivity extends CollapsingToolbarBaseActivity { getFragmentManager() .beginTransaction() - .replace(R.id.content_frame, new DozeSettingsFragment(), TAG_DOZE) + .replace(com.android.settingslib.collapsingtoolbar.R.id.content_frame, + new DozeSettingsFragment(), TAG_DOZE) .commit(); } }