Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(58)

Issue 29677555: Issue 6299 - Avoid main thread lock on URL loading (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 years ago by anton
Modified:
2 years ago
Reviewers:
diegocarloslima, jens
CC:
René Jeschke
Visibility:
Public.

Description

Issue 6299 - Avoid main thread lock on URL loading

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updated versions #

Total comments: 2

Patch Set 3 : added "final" for domain #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -37 lines) Patch
M libadblockplus-android-webview/AndroidManifest.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M libadblockplus-android-webview/build.gradle View 1 1 chunk +2 lines, -2 lines 0 comments Download
M libadblockplus-android-webview/pom.xml View 1 1 chunk +1 line, -1 line 0 comments Download
M libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java View 1 2 5 chunks +20 lines, -25 lines 0 comments Download
M libadblockplus-android-webviewapp/AndroidManifest.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M libadblockplus-android-webviewapp/build.gradle View 1 1 chunk +2 lines, -2 lines 0 comments Download
M libadblockplus-android-webviewapp/pom.xml View 1 2 chunks +2 lines, -2 lines 0 comments Download
M libadblockplus-android/src/org/adblockplus/libadblockplus/android/SingleInstanceEngineProvider.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
anton
https://codereview.adblockplus.org/29677555/diff/29677556/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java File libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java (right): https://codereview.adblockplus.org/29677555/diff/29677556/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java#newcode1016 libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java:1016: if (domain == null) Not sure if it can ...
2 years ago (2018-01-23 06:14:10 UTC) #1
jens
https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java File libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java (right): https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java#newcode1015 libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java:1015: String domain = provider.getEngine().getFilterEngine().getHostFromURL(url); Minor, but I think domain ...
2 years ago (2018-01-23 10:08:29 UTC) #2
anton
https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java File libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java (right): https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java#newcode1015 libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java:1015: String domain = provider.getEngine().getFilterEngine().getHostFromURL(url); On 2018/01/23 10:08:29, jens wrote: ...
2 years ago (2018-01-23 10:44:06 UTC) #3
diegocarloslima
On 2018/01/23 10:44:06, anton wrote: > https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java > File > libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java > (right): > > ...
2 years ago (2018-01-23 11:25:56 UTC) #4
jens
2 years ago (2018-01-23 11:28:52 UTC) #5
On 2018/01/23 11:25:56, diegocarloslima wrote:
> On 2018/01/23 10:44:06, anton wrote:
> >
>
https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-andr...
> > File
> >
>
libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java
> > (right):
> > 
> >
>
https://codereview.adblockplus.org/29677555/diff/29677559/libadblockplus-andr...
> >
>
libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java:1015:
> > String domain = provider.getEngine().getFilterEngine().getHostFromURL(url);
> > On 2018/01/23 10:08:29, jens wrote:
> > > Minor, but I think domain could be final.
> > 
> > fixed, uploaded new patch set
> 
> LGTM

LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 87257f5