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

Commit 74116ef6 authored by Ahmad Khalil's avatar Ahmad Khalil Committed by Android (Google) Code Review
Browse files

Merge "Remove `clear_system_vibrator` Flag" into main

parents 21dfeaa8 b6c1542e
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -386,17 +386,6 @@ flag {
    bug: "361438779"
}

flag {
    name: "clear_system_vibrator"
    namespace: "windowing_frontend"
    description: "Clears the system vibrator before attaching new window, to avoid leaks."
    bug: "393190314"
    is_fixed_read_only: true
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "reduce_task_snapshot_memory_usage"
    namespace: "windowing_frontend"
+1 −3
Original line number Diff line number Diff line
@@ -436,9 +436,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
            if (viewRoot != null) {
                // Clear the old callbacks and attach to the new window.
                viewRoot.getOnBackInvokedDispatcher().clear();
                if (Flags.clearSystemVibrator()) {
                viewRoot.clearSystemVibrator();
                }
                onViewRootImplSet(viewRoot);
            }
        }