Files
frameworks_base/core/java/android/app
Matthew Ng 54bc942fe4 Updated TaskDescription to pass drawable resource ID (1/2)
Depreciated the TaskDescription constructor when passing a bitmap and
added constructors to support passing drawable resource ID. Passing
drawable IDs allow users to use drawables such as AdaptiveIcons
instead of creating and passing a bitmap. Later SystemUI checks for
either bitmap, file name or resource ID to get a drawable to display.

Test: run-test CtsActivityManagerDeviceTestCases android.server.am
.TaskDescriptionTest
Change-Id: Ib944687249acf9fb6bbf9a9a109930cc04539e14
Fixes: 36298959
2017-10-16 10:56:24 -07:00
..
2017-09-15 08:07:41 +09:00