Commit 0287c45
Fix NPE in TwaLauncher when fallbackStrategy is null.
There were 2 issues:
* launch(Uri url) uses a null fallbackStrategy. In the
fallsBackToCustomTab and
fallsBackToCustomTab_whenSessionCreationFails test cases,
the custom tab fallbackStrategy is supposed to be used, but
it's null.
* The TestCustomTabsService is supposed to support the
CustomTabsService action.1 parent de7264c commit 0287c45
File tree
2 files changed
+5
-3
lines changed- androidbrowserhelper/src/androidTest
- java/com/google/androidbrowserhelper/trusted
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | | - | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
0 commit comments