run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/

This commit is contained in:
Mis012 2025-02-05 16:27:17 +01:00
parent 1d2450443e
commit ab5b600bf1
148 changed files with 9559 additions and 9529 deletions

View file

@ -310,4 +310,3 @@ void ANativeActivity_hideSoftInput(ANativeActivity* activity, uint32_t flags);
#endif
#endif // ANDROID_NATIVE_ACTIVITY_H

View file

@ -39,10 +39,10 @@ static void web_view_load_changed(WebKitWebView *web_view, WebKitLoadEvent load_
JNIEXPORT jlong JNICALL Java_android_webkit_WebView_native_1constructor(JNIEnv *env, jobject this, jobject context, jobject attrs)
{
/*
* many apps use webview just for fingerprinting or displaying ads, which seems like
* a waste of resources even if we deal with fingerprinting and ads in some other way
* in the future.
*/
* many apps use webview just for fingerprinting or displaying ads, which seems like
* a waste of resources even if we deal with fingerprinting and ads in some other way
* in the future.
*/
if(!getenv("ATL_UGLY_ENABLE_WEBVIEW"))
return Java_android_view_View_native_1constructor(env, this, context, attrs);

View file

@ -6,4 +6,3 @@ final public class JobWorkItem {
public JobWorkItem(Intent intent) {
}
}

View file

@ -0,0 +1,37 @@
package android.location;
public final class GnssStatus {
public static final int CONSTELLATION_UNKNOWN = 0;
public static final int CONSTELLATION_GPS = 1;
public static final int CONSTELLATION_SBAS = 2;
public static final int CONSTELLATION_GLONASS = 3;
public static final int CONSTELLATION_QZSS = 4;
public static final int CONSTELLATION_BEIDOU = 5;
public static final int CONSTELLATION_GALILEO = 6;
public static final int CONSTELLATION_IRNSS = 7;
public GnssStatus() {
}
public static abstract class Callback {
public void onStarted() {
}
public void onStopped() {
}
public void onFirstFix(int ttffMillis) {
}
public void onSatelliteStatusChanged(GnssStatus status) {
}
}
public int getSatelliteCount() {
return 3; // FIXME
}
public boolean usedInFix(int index) {
return true; // FIXME
}
}

View file

@ -5,4 +5,3 @@ public class Network {
return 1L;
}
}

View file

@ -596,5 +596,3 @@ media_status_t AMediaCodecCryptoInfo_getEncryptedBytes(AMediaCodecCryptoInfo*, s
{
return -1;
}

View file

@ -28,4 +28,3 @@
.ATL-text-align-right > * {
text-align: right;
}

View file

@ -68,4 +68,3 @@ public interface PerformanceTestCase
*/
boolean isPerformanceOnly();
}