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

Commit 7715a239 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge remote-tracking branch 'origin/lineage-23.2' into a16.2

parents 8a151a1d a9589527
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
/**
 * Copyright (C) 2018 The LineageOS project
 * Copyright (C) 2018-2026 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.
@@ -145,4 +145,13 @@ public class LineageStatusBarItemHolder extends RelativeLayout
        mVisibilityReceivers.add(visibilityReceiver);
        visibilityReceiver.onVisibilityChanged(mItemHolderIsVisible);
    }

    public void removeDarkReceiver(LineageStatusBarItem.DarkReceiver darkReceiver) {
        mDarkReceivers.remove(darkReceiver);
    }

    public void removeVisibilityReceiver(
            LineageStatusBarItem.VisibilityReceiver visibilityReceiver) {
        mVisibilityReceivers.remove(visibilityReceiver);
    }
}