feat: Add option to clear home screen in settings (#6125)

Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
This commit is contained in:
Abhishek Sharma authored and Pun Butrach committed 2026-01-10 20:51:01 +07:00
1 parent 9898749619
commit 5f3a03f4fb
1577 files changed
+112559 -80244

No files matched your search

@@ -14,7 +14,6 @@
package com.android.systemui.plugins.qs;
import android.graphics.Rect;
import android.view.View;
import androidx.annotation.FloatRange;
@@ -36,7 +35,7 @@ public interface QS extends FragmentBase {
String ACTION = "com.android.systemui.action.PLUGIN_QS";
int VERSION = 16;
int VERSION = 15;
String TAG = "QS";
@@ -90,45 +89,8 @@ public interface QS extends FragmentBase {
*/
int getHeightDiff();
/**
* Returns the header view that contains QQS. This might return null (or throw) if there's no
* actual header view.
*/
View getHeader();
/**
* Returns the top of the header view that contains QQS wrt to the container view
*/
int getHeaderTop();
/**
* Returns the bottom of the header view that contains QQS wrt to the container view
*/
int getHeaderBottom();
/**
* Returns the left bound of the header view that contains QQS wrt to the container view
*/
int getHeaderLeft();
/**
* Fills outBounds with the bounds of the header view (container of QQS) on the screen
*/
void getHeaderBoundsOnScreen(Rect outBounds);
/**
* Returns the height of the header view that contains QQS. It defaults to bottom - top.
*/
default int getHeaderHeight() {
return getHeaderBottom() - getHeaderTop();
}
/**
* Returns whether the header view that contains QQS is shown on screen (similar semantics to
* View.isShown).
*/
boolean isHeaderShown();
default void setHasNotifications(boolean hasNotifications) {
}