Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vNext
- [MINOR] Add AAD authority validation for DUNA flow (#2740)
- [PATCH] Fix DualScreenActivity theme color constant (#2737)
- [MINOR] [SDL Assessment task] Secure webview settings (#2715)
- [MINOR] Add aea app to DUNA browser safelist (#2747)

Version 22.0.3
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,25 @@ static private BrowserDescriptor getBrowserDescriptorForChrome() {
);
}

static private BrowserDescriptor getBrowserDescriptorForAea() {
final HashSet<String> signatureHashes = new HashSet<>();
signatureHashes.add("Nd3EDftVD0lR3Lz0Odq8NMkWWyM5CT8lahePkMtzvS6YkVYne_Hn5jaDSxrdXkN1s4AywAnav2RnarZvcqVFJQ==");
return new BrowserDescriptor(
"com.amazon.enterprise.access.android",
signatureHashes,
null,
null
);
}

/**
* Return a list of BrowserDescriptors that are considered safe for the Switch to browser flow.
*/
static public List<BrowserDescriptor> getBrowserSafeListForSwitchBrowser() {
final List<BrowserDescriptor> browserDescriptors = new ArrayList<>();
browserDescriptors.add(getBrowserDescriptorForChrome());
browserDescriptors.add(getBrowserDescriptorForEdge());
browserDescriptors.add(getBrowserDescriptorForAea());
return browserDescriptors;
}

Expand Down
Loading