Skip to content
Merged
Changes from 1 commit
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
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