Adding functionality to open by default settings dialog

Allows the user to change how links open by default (either in the app
or in the default browser) by choosing the setting from the dialog.

Bug: 359262490
Test: manual testing
Flag: com.android.window.flags.enable_desktop_windowing_app_to_web
Change-Id: I573c234df65e829179c10728c3b194eb755f42be
6 files changed