Commit 910e48f
authored
Fix for app link redirect from CCT due to forced browser preference, Fixes AB#3387976 (#2775)
Fixes
[AB#3387976](https://dev.azure.com/IdentityDivision/Engineering/_workitems/edit/3387976)
The previous fix seems to have addressed the issue only partially.
Previous fix:
#2745
Basically what's happening is that even with that flag CCT will
sometimes still launch the URL in browser and this is happening because
we're setting the browser's pkg name explicitly on the intent which
tells the OS that this MUST be opened in the browser.
Checked CCT logs and they print something like:
`Launching in browser as Browser pkg was explicitly set on the Intent`
Once we remove the explicit pkg name then OS finds the best possible app
on the device to handle the intent. For an app link that's the the
broker hosting app.1 parent 6f0b749 commit 910e48f
File tree
3 files changed
+2
-2
lines changed- common/src/main/java/com/microsoft/identity/common/internal
- providers/oauth2
- ui/browser
3 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | | - | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
0 commit comments