mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
d0a9e49221
commit
130fdfcbae
|
@ -835,6 +835,9 @@ public class Helper {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void customTabsWarmup(Context context) {
|
static void customTabsWarmup(Context context) {
|
||||||
|
if (context == null)
|
||||||
|
return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
CustomTabsClient.bindCustomTabsService(context, "com.android.chrome", new CustomTabsServiceConnection() {
|
CustomTabsClient.bindCustomTabsService(context, "com.android.chrome", new CustomTabsServiceConnection() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue