commit | 15abc500eadf83dfe62e3a07ee0f282e6dce6684 | [log] [tgz] |
---|---|---|
author | Vinit Nayak <peanutbutter@google.com> | Mon Jul 15 14:47:56 2019 -0700 |
committer | Vinit Nayak <peanutbutter@google.com> | Tue Jul 23 11:49:19 2019 -0700 |
tree | c95a16cfeba94089187261a5a4b44d12d589f828 | |
parent | f05d3f8fd4772506093537abead72ed43c95b38b [diff] |
Refactor RecentTasksList ctor to be testable Made ctor accept more arguments so we can pass in mock objects for unit testing. Test: Created RecentsTasksListTest.java, passes adb shell am instrument -w -r -e debug false -e \ class 'com.android.quickstep.RecentTasksListTest' \ com.google.android.apps.nexuslauncher.tests/androidx.test.runner.AndroidJUnitRunner Fixes: 135687618 Change-Id: Iffda661e9d5329a2a403060bde674ab81e4e720e