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:
Mis012
2023-06-22 11:45:46 +02:00
parent 824b821f5a
commit 0a9591c474
208 changed files with 154568 additions and 150150 deletions

View File

@@ -1,11 +1,11 @@
package android.net;
public class ConnectivityManager {
public NetworkInfo getNetworkInfo (int networkType) {
public NetworkInfo getNetworkInfo(int networkType) {
return null; // this means the network type is not supported, which should make properly coded apps cease any attempts to use network-related APIs
}
public NetworkInfo getActiveNetworkInfo () {
public NetworkInfo getActiveNetworkInfo() {
return null; // there is no active network, because there isn't any network at all
}
}