mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-23 16:18:50 -05:00
Remove comments
This commit is contained in:
parent
46f74bd11c
commit
8bcf9b1d50
@ -56,13 +56,8 @@ public abstract class K9WebViewClient extends WebViewClient {
|
||||
Context context = webView.getContext();
|
||||
Uri uri = Uri.parse(url);
|
||||
if (!CID_SCHEME.equals(uri.getScheme())) {
|
||||
// Replicate Android 4 android.webkit.CallbackProxy.uiOverrideUrlLoading()
|
||||
// default behavior to open clicked links in external applications.
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
||||
intent.addCategory(Intent.CATEGORY_BROWSABLE);
|
||||
// If another application is running a WebView and launches the
|
||||
// Browser through this Intent, we want to reuse the same window if
|
||||
// possible.
|
||||
intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName());
|
||||
try {
|
||||
context.startActivity(intent);
|
||||
|
Loading…
Reference in New Issue
Block a user