You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
This commit is contained in:
@@ -15,15 +15,15 @@
|
||||
*/
|
||||
package android.webkit;
|
||||
public interface DownloadListener {
|
||||
/**
|
||||
* Notify the host application that a file should be downloaded
|
||||
* @param url The full url to the content that should be downloaded
|
||||
* @param userAgent the user agent to be used for the download.
|
||||
* @param contentDisposition Content-disposition http header, if
|
||||
* present.
|
||||
* @param mimetype The mimetype of the content reported by the server
|
||||
* @param contentLength The file size reported by the server
|
||||
*/
|
||||
public void onDownloadStart(String url, String userAgent,
|
||||
String contentDisposition, String mimetype, long contentLength);
|
||||
/**
|
||||
* Notify the host application that a file should be downloaded
|
||||
* @param url The full url to the content that should be downloaded
|
||||
* @param userAgent the user agent to be used for the download.
|
||||
* @param contentDisposition Content-disposition http header, if
|
||||
* present.
|
||||
* @param mimetype The mimetype of the content reported by the server
|
||||
* @param contentLength The file size reported by the server
|
||||
*/
|
||||
public void onDownloadStart(String url, String userAgent,
|
||||
String contentDisposition, String mimetype, long contentLength);
|
||||
}
|
||||
@@ -5,7 +5,7 @@ import android.view.View;
|
||||
|
||||
// the only reason we need to implement this is that some app developers are such scumbags that they try to use this for tracking purposes
|
||||
public class WebView extends View {
|
||||
public WebView (Context context) {
|
||||
public WebView(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user