summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpnetworkrequest.cpp
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-11-02 17:50:58 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-12-03 12:19:21 +0000
commitbe55118bd3b33bed160d7533fd3bd83f229bcd67 (patch)
treef68fe710705886a364b4c6e0a8f29aaf420eb80b /src/network/access/qhttpnetworkrequest.cpp
parentc034ad03ac6896b9fba8a72e01a1b7ec34cf0cd5 (diff)
Android: simplifications to exception messages for content file handling
The method getUriWithValidPermission() now returns null only if the Uri couldn't be parsed, otherwise, returns the parsed Uri and fail later when used if it doesn't have permissions for example. Also, Don't use use hardcoded strings for method names, and print the exception message instead of the whole stack. Pick-to: 6.2 Task-number: QTBUG-96081 Task-number: QTBUG-96957 Change-Id: If7ba88265c9683e6660cb483cfee6c22016f2976 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Diffstat (limited to 'src/network/access/qhttpnetworkrequest.cpp')
0 files changed, 0 insertions, 0 deletions