diff options
| author | 2023-01-20 16:51:26 +0000 | |
|---|---|---|
| committer | 2023-01-24 22:02:09 +0000 | |
| commit | 82594cb8e3646b658cf3e5e26a76b1aa861b1fa2 (patch) | |
| tree | 6d5353f17ca5421f6c3bdeecbe70d546b6fb610f /libs/androidfw/ApkParsing.cpp | |
| parent | 6e3e2059d18bf680b465fd0ce6ba72bd72d5759f (diff) | |
Fetch context URL from the top-most app, send with share if available.
- Add contextUrl to ScreenshotData.
- Fork AssistContentRequester from launcher, adapt slightly for sysui
dagger.
- Request the assist content (async) if the task ID is available.
- Set the URL as EXTRA_TEXT if available. Don't set the subject in the
share if we have EXTRA_TEXT, as they seem to conflict with each other
in some apps.
- Slight refactor in ActionIntentCreator to make the various ways to
create share intents clearer.
Flag: All code changes (beyond variable existence) are protected by the
SCREENSHOT_METADATA flag, currently disabled. The work profile
screenshots flag is also required for this to work properly (in
teamfood).
Bug: 242791070
Test: atest com.android.systemui.screenshot
Test: Verify that context URL from chrome passes all the way through
when sharing with Gmail.
Merged-In: I39c3503147631f4ef79088f23c201bbad7405d16
Change-Id: I39c3503147631f4ef79088f23c201bbad7405d16
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions