OSDN Git Service

Fixing regression in Recents preloading.
authorWinson Chung <winsonc@google.com>
Thu, 18 May 2017 22:47:14 +0000 (15:47 -0700)
committerWinson Chung <winsonc@google.com>
Thu, 18 May 2017 23:03:11 +0000 (16:03 -0700)
commitebe1ba19806530eda8ed53b7162a074a5af67be4
treea042e4e11d2888f59cb49331ce431999bf863706
parentee69756d542c9e65389e2907c2dc7aa8cca1250d
Fixing regression in Recents preloading.

- Changes in the CommandQueue callbacks resulted in the default
  implementation of preloadRecentApps() to be called instead of the
  actual implementation in the Recents component.
- Removing extraneous methods in the interface called from other parts of
  SystemUI.

Bug: 38390446
Test: Launch Recents, ensure that preloading is hit first on touch down on
      the button

Change-Id: I28f7ac47eafa76a53343505f3352760e6510c213
packages/SystemUI/src/com/android/systemui/RecentsComponent.java
packages/SystemUI/src/com/android/systemui/recents/Recents.java
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java