Android: release deadlock protector from requestPermissions()
Note this would ideally use androiddeadlockprotector.h, but since it's living under the plugins directory it won't be accessible for this code without some refactoring. Fixes: QTBUG-133841 Pick-to: 6.8 6.5 Change-Id: I9b62e7a9809ba5e0782a82b9c07d122de544aece Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io> (cherry picked from commit e8aa9ff63850a6ddcac739bc773463d61ec4567f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
d6865ad65d
commit
b3a550d976
@ -1128,6 +1128,8 @@ requestPermissionsInternal(const QStringList &permissions)
|
||||
env->DeleteLocalRef(array);
|
||||
});
|
||||
|
||||
QtAndroidPrivate::releaseAndroidDeadlockProtector();
|
||||
|
||||
return future;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user