diff options
author | Matthew Ng <ngmatthew@google.com> | 2017-10-02 17:16:28 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2017-10-16 10:56:24 -0700 |
commit | 54bc942fe417f77ee68d82454ab9f940c5eeebf4 (patch) | |
tree | c751859208897a6ccf60e21492f29c2e1ec973aa /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 959516a8858e6d2ff02b5ed48021bd5324d4f912 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions