mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Compare commits
3 Commits
yannikblos
...
v2025.10.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c5b252ca7 | ||
|
|
2e91e64056 | ||
|
|
d1bac84c7a |
@@ -1 +1 @@
|
|||||||
version: 2025.03.02-7-FDroid+25030207
|
version: 2025.10.09-3-FDroid+25100903
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import java.util.Map;
|
|||||||
public class Metadata implements Parcelable
|
public class Metadata implements Parcelable
|
||||||
{
|
{
|
||||||
// Values must correspond to the Metadata definition from indexer/feature_meta.hpp.
|
// Values must correspond to the Metadata definition from indexer/feature_meta.hpp.
|
||||||
|
// Remember to also update IntRange below to match the max ID
|
||||||
public enum MetadataType
|
public enum MetadataType
|
||||||
{
|
{
|
||||||
// Defined by classifier types now.
|
// Defined by classifier types now.
|
||||||
@@ -71,7 +72,7 @@ public class Metadata implements Parcelable
|
|||||||
FMD_PANORAMAX(52),
|
FMD_PANORAMAX(52),
|
||||||
FMD_CHECK_DATE(53),
|
FMD_CHECK_DATE(53),
|
||||||
FMD_CHECK_DATE_OPEN_HOURS(54),
|
FMD_CHECK_DATE_OPEN_HOURS(54),
|
||||||
//FMD_BRANCH(55),
|
FMD_BRANCH(55),
|
||||||
FMD_CHARGE_SOCKETS(56);
|
FMD_CHARGE_SOCKETS(56);
|
||||||
private final int mMetaType;
|
private final int mMetaType;
|
||||||
|
|
||||||
@@ -81,7 +82,7 @@ public class Metadata implements Parcelable
|
|||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
public static MetadataType fromInt(@IntRange(from = 1, to = 49) int metaType)
|
public static MetadataType fromInt(@IntRange(from = 1, to = 56) int metaType)
|
||||||
{
|
{
|
||||||
for (MetadataType type : values())
|
for (MetadataType type : values())
|
||||||
if (type.mMetaType == metaType)
|
if (type.mMetaType == metaType)
|
||||||
|
|||||||
Reference in New Issue
Block a user