mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
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:
parent
1d2450443e
commit
ab5b600bf1
148 changed files with 9559 additions and 9529 deletions
|
@ -310,4 +310,3 @@ void ANativeActivity_hideSoftInput(ANativeActivity* activity, uint32_t flags);
|
|||
#endif
|
||||
|
||||
#endif // ANDROID_NATIVE_ACTIVITY_H
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ final public class JobWorkItem {
|
|||
public JobWorkItem(Intent intent) {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
37
src/api-impl/android/location/GnssStatus.java
Normal file
37
src/api-impl/android/location/GnssStatus.java
Normal 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
|
||||
}
|
||||
}
|
|
@ -5,4 +5,3 @@ public class Network {
|
|||
return 1L;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -596,5 +596,3 @@ media_status_t AMediaCodecCryptoInfo_getEncryptedBytes(AMediaCodecCryptoInfo*, s
|
|||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -28,4 +28,3 @@
|
|||
.ATL-text-align-right > * {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
|
|
@ -68,4 +68,3 @@ public interface PerformanceTestCase
|
|||
*/
|
||||
boolean isPerformanceOnly();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue