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

Commit 52bce6cc authored by wilsonshih's avatar wilsonshih
Browse files

Clean up release_snapshot_aggressively flag

Bug: 424073461
Test: presubmit
Flag: EXEMPT flag cleanup
Change-Id: I871e5db792d827eee8fd71b40703a1c017039933
parent 8fa132aa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -380,8 +380,7 @@ public class TaskSnapshot implements Parcelable {
     */
    public synchronized void removeReference(@ReferenceFlags int usage) {
        mInternalReferences &= ~usage;
        if (Flags.releaseSnapshotAggressively() && mInternalReferences == 0 && mSnapshot != null
                && !mSnapshot.isClosed()) {
        if (mInternalReferences == 0 && mSnapshot != null && !mSnapshot.isClosed()) {
            if (mSafeSnapshotReleaser != null) {
                mSafeSnapshotReleaser.accept(mSnapshot);
            } else {
+0 −8
Original line number Diff line number Diff line
@@ -209,14 +209,6 @@ flag {
  }
}

flag {
    name: "release_snapshot_aggressively"
    namespace: "windowing_frontend"
    description: "Actively release task snapshot memory"
    bug: "238206323"
    is_fixed_read_only: true
}

flag {
  name: "system_ui_post_animation_end"
  namespace: "windowing_frontend"