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

@@ -4,7 +4,7 @@ import android.content.Context;
import android.os.Bundle;
public class AccountManager {
public static AccountManager get(Context context) {
return new AccountManager();
}

View File

@@ -11,5 +11,5 @@ public class AnimatorInflater {
public static StateListAnimator loadStateListAnimator(Context context, int resId) {
return new StateListAnimator();
}
}

View File

@@ -1,5 +1,5 @@
package android.animation;
public class ArgbEvaluator {
}

View File

@@ -1,7 +1,7 @@
package android.animation;
public class LayoutTransition {
public void enableTransitionType(int transitionType) {}
public void setStartDelay(int transitionType, long startDelay) {}

View File

@@ -1,5 +1,5 @@
package android.annotation;
public @interface SystemApi {
}

View File

@@ -83,7 +83,7 @@ public class Activity extends ContextThemeWrapper implements Window.Callback, La
*
* @param className class name of activity or null
* @return instance of main activity class
* @throws Exception
* @throws Exception
*/
private static Activity createMainActivity(String className, long native_window, String uriString) throws Exception {
Uri uri = uriString != null ? Uri.parse(uriString) : null;

View File

@@ -1,5 +1,5 @@
package android.app;
public class DownloadManager {
}

View File

@@ -1,5 +1,5 @@
package android.app;
public class SearchManager {
}

View File

@@ -3,7 +3,7 @@ package android.app;
import android.content.res.Configuration;
public class UiModeManager {
public int getCurrentModeType() {
return Configuration.UI_MODE_TYPE_NORMAL;
}

View File

@@ -14,5 +14,5 @@ public class WallpaperManager {
}
private static native void set_bitmap(long texture);
}

View File

@@ -1,5 +1,5 @@
package android.app.admin;
public class DevicePolicyManager {
}

View File

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

View File

@@ -1,6 +1,6 @@
package android.bluetooth;
public class BluetoothProfile {
public interface ServiceListener {}
}

View File

@@ -3,7 +3,7 @@ package android.content;
public class ClipData {
String text;
public static ClipData newPlainText(CharSequence label, CharSequence text) {
ClipData clip = new ClipData();
clip.text = text.toString();

View File

@@ -10,7 +10,7 @@ import android.net.Uri;
import java.util.Iterator;
public class IntentFilter {
private List<String> actions = new ArrayList<>();
private Set<String> categories = new HashSet<>();
private List<String> dataSchemes = new ArrayList<>();

View File

@@ -1674,7 +1674,7 @@ public class PackageManager {
* to modify the data returned.
*
* @return ProviderInfo containing information about the service.
* @throws Exception
* @throws Exception
*
* @see #GET_META_DATA
* @see #GET_SHARED_LIBRARY_FILES
@@ -2402,7 +2402,7 @@ public class PackageManager {
*
* @return ContentProviderInfo Information about the provider, if found,
* else null.
* @throws Exception
* @throws Exception
*/
public ProviderInfo resolveContentProvider(String authority, int flags) {
for (PackageParser.Provider p : Context.pkg.providers) {

View File

@@ -56,4 +56,4 @@ public class PackageUserState {
? new HashSet<String>(o.enabledComponents)
: null;
}
}
}

View File

@@ -481,4 +481,4 @@ public abstract class AbstractCursor implements CrossProcessCursor {
}
}
}
}
}

View File

@@ -133,7 +133,7 @@ public abstract class AbstractWindowedCursor extends AbstractCursor {
@Override
protected void checkPosition() {
super.checkPosition();
if (mWindow == null) {
throw new /*StaleDataException*/RuntimeException("Attempting to access a closed CursorWindow." +
"Most probable cause: cursor is deactivated prior to calling this method.");
@@ -206,4 +206,4 @@ public abstract class AbstractWindowedCursor extends AbstractCursor {
super.onDeactivateOrClose();
closeWindow();
}
}
}

View File

@@ -23,11 +23,11 @@ public final class CharArrayBuffer {
public CharArrayBuffer(int size) {
data = new char[size];
}
public CharArrayBuffer(char[] buf) {
data = buf;
}
public char[] data; // In and out parameter
public int sizeCopied; // Out parameter
}

Some files were not shown because too many files have changed in this diff Show More