Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2647c63 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Remove unused `setForceUnlocked` method.

Test: atest SystemUITests
Change-Id: I85c9c7797a821a9aa517cf9c782f623b577a81b4
parent 019f0c13
Loading
Loading
Loading
Loading
+1 −12
Original line number Original line Diff line number Diff line
@@ -304,7 +304,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
            }
            }
        }
        }
    };
    };
    private boolean mForceUnlocked;
    private boolean mKeepInParent;
    private boolean mKeepInParent;
    private boolean mRemoved;
    private boolean mRemoved;
    private static final Property<ExpandableNotificationRow, Float> TRANSLATE_CONTENT =
    private static final Property<ExpandableNotificationRow, Float> TRANSLATE_CONTENT =
@@ -1294,16 +1293,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        onAttachedChildrenCountChanged();
        onAttachedChildrenCountChanged();
    }
    }


    public void setForceUnlocked(boolean forceUnlocked) {
        mForceUnlocked = forceUnlocked;
        if (mIsSummaryWithChildren) {
            List<ExpandableNotificationRow> notificationChildren = getAttachedChildren();
            for (ExpandableNotificationRow child : notificationChildren) {
                child.setForceUnlocked(forceUnlocked);
            }
        }
    }

    @Override
    @Override
    public void dismiss(boolean refocusOnDismiss) {
    public void dismiss(boolean refocusOnDismiss) {
        super.dismiss(refocusOnDismiss);
        super.dismiss(refocusOnDismiss);
@@ -2183,7 +2172,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    }
    }


    public boolean isUserLocked() {
    public boolean isUserLocked() {
        return mUserLocked && !mForceUnlocked;
        return mUserLocked;
    }
    }


    public void setUserLocked(boolean userLocked) {
    public void setUserLocked(boolean userLocked) {