Improved logging

This commit is contained in:
M66B 2020-07-21 22:38:22 +02:00
parent 98a058775b
commit dc6cab7edb
1 changed files with 3 additions and 2 deletions

View File

@ -520,9 +520,10 @@ public class Helper {
}
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 {
Intent view = new Intent(Intent.ACTION_VIEW, uri);
if (task)