summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPerumaal S <perumaal@google.com>2020-01-13 21:01:35 -0800
committerPerumaal S <perumaal@google.com>2020-01-21 18:44:38 -0800
commit3c78cc58c7a4f9fef0d13528633796218c104e30 (patch)
treefaec87bbc2ea145154f170ab3299a8b340a5e89b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent41d2cdf3d1774f7a41c212532a29842dde22c36f (diff)
Change provideContextImage() API to accept Bitmap
provideContextImage currently takes in taskId which works for the Recents screen. In Android QPR2 timeframe, content suggestions also powers Screenshots feature which requires passing an explicit Bitmap. This change adds a Bitmap parameter to the 'provideContextImage'. Launcher/Recents will continue using the taskId-based API to obtain a fresh snapshot using the Activity/Window Manager; or obtain an on-disk one for paused tasks. Bug: 147324195 Test: atest ContentSuggestionsManagerTest in separate CL ag/10146598 Change-Id: I686eb8d90a4a44fdd80403ef2df58020c82ca69a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions