summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin <iCollin@users.noreply.github.com>2021-02-26 16:24:54 -0500
committerGitHub <noreply@github.com>2021-02-26 16:24:54 -0500
commite68933c595eda2debede27e46d7497cef29c923c (patch)
treefeedb4fccfe413a2b80a8dfcf8ff1b2613c20134
parent17a9e62722dc34b645f583689f1b999f2f48edcf (diff)
downloadsdl_core-e68933c595eda2debede27e46d7497cef29c923c.tar.gz
initialize AppPermissions.isSDLAllowed in constructor (#3641)
* initialize AppPermissions.isSDLAllowed in constructor * Update src/components/policy/policy_external/include/policy/policy_types.h Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> * apply to regular policies Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
-rw-r--r--src/components/policy/policy_external/include/policy/policy_types.h1
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_types.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_types.h b/src/components/policy/policy_external/include/policy/policy_types.h
index 7e8abd5989..ff3a89d084 100644
--- a/src/components/policy/policy_external/include/policy/policy_types.h
+++ b/src/components/policy/policy_external/include/policy/policy_types.h
@@ -278,6 +278,7 @@ struct AppPermissions {
, appRevoked(false)
, appPermissionsConsentNeeded(false)
, appUnauthorized(false)
+ , isSDLAllowed(false)
, requestTypeChanged(false)
, requestSubTypeChanged(false) {}
diff --git a/src/components/policy/policy_regular/include/policy/policy_types.h b/src/components/policy/policy_regular/include/policy/policy_types.h
index 7f95d9132b..fe54da6b18 100644
--- a/src/components/policy/policy_regular/include/policy/policy_types.h
+++ b/src/components/policy/policy_regular/include/policy/policy_types.h
@@ -280,6 +280,7 @@ struct AppPermissions {
, appRevoked(false)
, appPermissionsConsentNeeded(false)
, appUnauthorized(false)
+ , isSDLAllowed(false)
, requestTypeChanged(false)
, requestSubTypeChanged(false) {}