diff --git a/extern/GmsApi b/extern/GmsApi index acec513b..107d7008 160000 --- a/extern/GmsApi +++ b/extern/GmsApi @@ -1 +1 @@ -Subproject commit acec513b19aaba856722fc22c9adf3f5e0ea3ac7 +Subproject commit 107d70080ad5f8389db97dc0bb7f36d52af46afe diff --git a/extern/vtm b/extern/vtm index ec4f12b5..b651e095 160000 --- a/extern/vtm +++ b/extern/vtm @@ -1 +1 @@ -Subproject commit ec4f12b576906b01d8bf2f1033c8014b6affeb8b +Subproject commit b651e095f019649de2adc578264c8d582551f657 diff --git a/play-services-core/build.gradle b/play-services-core/build.gradle index bbd5a1b0..c474cbda 100644 --- a/play-services-core/build.gradle +++ b/play-services-core/build.gradle @@ -62,7 +62,7 @@ android { versionName getMyVersionName() def x = getMyVersionCode() // We are not allowed to freely choose the hundreds column as it defines the device type - versionCode(9450200 + x % 100 + ((int) (x / 100)) * 1000) + versionCode(9683000 + x % 100 + ((int) (x / 100)) * 1000) ndk { abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86" diff --git a/play-services-core/src/main/java/org/microg/gms/location/LocationRequestHelper.java b/play-services-core/src/main/java/org/microg/gms/location/LocationRequestHelper.java index 76a2ad27..0dd9d1d7 100644 --- a/play-services-core/src/main/java/org/microg/gms/location/LocationRequestHelper.java +++ b/play-services-core/src/main/java/org/microg/gms/location/LocationRequestHelper.java @@ -83,6 +83,7 @@ public class LocationRequestHelper { * @return whether to continue sending reports to this {@link LocationRequestHelper} */ public boolean report(Location location) { + if (location == null) return true; if (lastReport != null) { if (location.getTime() - lastReport.getTime() < locationRequest.getFastestInterval()) { return true; diff --git a/vtm-microg-theme/resources/assets/styles/microg.xml b/vtm-microg-theme/resources/assets/styles/microg.xml index f8034d16..25b7c080 100644 --- a/vtm-microg-theme/resources/assets/styles/microg.xml +++ b/vtm-microg-theme/resources/assets/styles/microg.xml @@ -1,32 +1,46 @@ - - - - - + + + + + + + + + + + + + @@ -36,22 +50,33 @@ + - + + + + - + + - + + + + + + + @@ -64,7 +89,8 @@ - + + @@ -79,7 +105,17 @@ - + + + + + + + + + + + @@ -91,6 +127,10 @@ + + + + @@ -110,8 +150,45 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -122,10 +199,10 @@ - + - + @@ -136,48 +213,54 @@ - - - + - + - - + + - - + + - + - + - + - + - + - + + + + + + + @@ -217,22 +300,45 @@ - + - + - + + - + + + + + + + + + + + + + + @@ -289,15 +395,15 @@ - + - + - + - + @@ -328,7 +434,8 @@ + use="fix" + width="0.1"/> - + - + - - + + + + + + + + + + - - + @@ -412,6 +525,18 @@ stroke="#ffffff" stroke-width="2.0"/> + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vtm-microg-theme/resources/assets/symbols/transit/train_station_small.svg b/vtm-microg-theme/resources/assets/symbols/transit/train_station_small.svg new file mode 100644 index 00000000..95d239d5 --- /dev/null +++ b/vtm-microg-theme/resources/assets/symbols/transit/train_station_small.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file