diff options
author | Jens Trillmann <jens.trillmann@governikus.de> | 2023-07-05 09:33:03 +0200 |
---|---|---|
committer | Jens Trillmann <jens.trillmann@governikus.de> | 2023-07-31 09:38:56 +0200 |
commit | 7012bea614fb47a07a4626c2e2e2855dba3742b4 (patch) | |
tree | 27be24d555d179e6f71315c86440d33c50dd1c59 /examples/widgets/tools/echoplugin/CMakeLists.txt | |
parent | b902b152af0bf144c9c9833502e1dcfae0166620 (diff) |
Improve Intent source app detection
Activity.getReferrer does not only return app IDs but also URLs if
Intent.EXTRA_REFERRER is set on the Intent. In the case of Chrome the referrer
is set to the website triggering the Intent. To improve the detection of the
calling app we check first if the browser specific
Browser.EXTRAS_APPLICATION_ID is set. If it is not set we fall back to
Intent.getReferrer.
Pick-to: 6.6 6.5
Change-Id: I33d1edd52de98486d9616713e531ea20ada87bcb
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'examples/widgets/tools/echoplugin/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions