Debug info: force dark support

pull/208/head
M66B 2 years ago
parent b8c6475482
commit 9231a1fd22

@ -79,6 +79,7 @@ import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentManager;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import androidx.webkit.WebViewFeature;
import com.bugsnag.android.BreadcrumbType; import com.bugsnag.android.BreadcrumbType;
import com.bugsnag.android.Bugsnag; import com.bugsnag.android.Bugsnag;
@ -1993,6 +1994,9 @@ public class Log {
sb.append(String.format("UI type: %s %s\r\n", uiType, sb.append(String.format("UI type: %s %s\r\n", uiType,
"normal".equals(uiType) ? "" : "!!!")); "normal".equals(uiType) ? "" : "!!!"));
sb.append(String.format("Force dark support: %b\r\n",
WebViewEx.isFeatureSupported(WebViewFeature.FORCE_DARK)));
sb.append("\r\n"); sb.append("\r\n");
Boolean ignoring = Helper.isIgnoringOptimizations(context); Boolean ignoring = Helper.isIgnoringOptimizations(context);

Loading…
Cancel
Save