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

Commit c5aee11e authored by Roy Chou's avatar Roy Chou
Browse files

chore(magnification): remove flag...

chore(magnification): remove flag delay_notification_to_magnification_when_recents_window_to_front_transition usage

The flag has been already in nextfood for 2 monthes. Remove the flag
usage then we'll delete the flag after released.

Bug: 358504284
Flag: com.android.window.flags.delay_notification_to_magnification_when_recents_window_to_front_transition
Test: manually
      atest FullScreenMagnificationControllerTest
      atest FullScreenMagnificationGestureHandlerTest
Change-Id: I4961e674109c7371e9a75a7f7189faa3d3f88ea0
parent 35cc5931
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1617,8 +1617,7 @@ final class AccessibilityController {
            // causing the notifying, or the recents/home window is removed, then we won't need the
            // delayed notification anymore.
            void onWMTransition(@TransitionType int type, @TransitionFlags int flags) {
                if (Flags.delayNotificationToMagnificationWhenRecentsWindowToFrontTransition()
                        && type == WindowManager.TRANSIT_TO_FRONT
                if (type == WindowManager.TRANSIT_TO_FRONT
                        && (flags & TRANSIT_FLAG_IS_RECENTS) != 0) {
                    // Delay the recents to front transition notification then send after if needed.
                    mHasDelayedNotificationForRecentsToFrontTransition = true;