mirror of https://github.com/M66B/FairEmail.git
Improved logging
This commit is contained in:
parent
98a058775b
commit
dc6cab7edb
|
@ -520,9 +520,10 @@ public class Helper {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void view(Context context, Uri uri, boolean browse, boolean task) {
|
static void view(Context context, Uri uri, boolean browse, boolean task) {
|
||||||
Log.i("View=" + uri);
|
boolean has = hasCustomTabs(context, uri);
|
||||||
|
Log.i("View=" + uri + " browse=" + browse + " task=" + task + " has=" + has);
|
||||||
|
|
||||||
if (browse || !hasCustomTabs(context, uri)) {
|
if (browse || !has) {
|
||||||
try {
|
try {
|
||||||
Intent view = new Intent(Intent.ACTION_VIEW, uri);
|
Intent view = new Intent(Intent.ACTION_VIEW, uri);
|
||||||
if (task)
|
if (task)
|
||||||
|
|
Loading…
Reference in New Issue