Skip to content
Commit a05b6b05 authored by Winson Chung's avatar Winson Chung
Browse files

Fix app switch regression

- SystemUI has STOP_APP_SWITCHES, which meant that
  checkAppSwitchAllowedLocked() would never block the launch of an
  activity after hitting the home button when launching from recents.
  However, Launcher does not have this permission, so quick launches of
  home/launcher-based-recents activity would be blocked (waiting for the
  app switch timeout). This is only apparent when we have the fallback
  3 button nav bar, since we do not stop app switches when swiping up.

  This CL enables the system defined recents activity to manage app
  switches.

Bug: 77152886
Test: Manual, enable three button nav bar, go home, double tap recents and
      then tap again to go home.
Test: atest FrameworksServicesTests:RecentTasksTest

Change-Id: I51959c2b0f8d8b7c5f184a1fdf15294b569f5a50
parent e81e6faf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment