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

Commit bd89c480 authored by Eric Lin's avatar Eric Lin
Browse files

Refactor to inline the isNewInTaskView argument.

The local boolean variable isNewInTaskView was only used to pass a value
to the prepareOpenAnimation method. Depending on the conditional branch,
this value was always either true or false.

This change removes the temporary variable and inlines the boolean
literal directly into the method call. This is a pure refactoring that
simplifies the code and improves readability without altering behavior.

Bug: 387193964
Flag: EXEMPT PURE_REFACTOR
Test: atest WMShellUnitTests:TaskViewTransitionsTest
Test: atest WMShellUnitTests:TaskViewTransitionStartAnimationTest
Change-Id: Ic67a25d12d4288ef2d1aa9abf07bea1e3d052dab
parent 597d8b1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment