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

Commit fa3653ea authored by George Mount's avatar George Mount Committed by Android Git Automerger
Browse files

am f7fbe099: Merge "Allow opaque windows to become translucent."

* commit 'f7fbe099':
  Allow opaque windows to become translucent.
parents 27364132 f7fbe099
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -522,13 +522,6 @@ final class ActivityRecord {
        if (fullscreen == toOpaque) {
            return false;
        }
        AttributeCache.Entry ent =
                AttributeCache.instance().get(packageName, realTheme, styleable.Window, userId);
        if (ent == null
                || !ent.array.getBoolean(styleable.Window_windowIsTranslucent, false)
                || ent.array.getBoolean(styleable.Window_windowIsFloating, false)) {
            return false;
        }

        // Keep track of the number of fullscreen activities in this task.
        task.numFullscreen += toOpaque ? +1 : -1;