[android] Cleanup unused annotation

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin 2024-10-18 22:18:40 +03:00
parent acc198b748
commit cd39e9091e
2 changed files with 1 additions and 5 deletions

View file

@ -596,7 +596,6 @@ public enum BookmarkManager
return nativeGetBookmarkColor(bookmarkId);
}
@Icon.BookmarkIconType
public int getBookmarkIcon(@IntRange(from = 0) long bookmarkId)
{
return nativeGetBookmarkIcon(bookmarkId);
@ -854,7 +853,6 @@ public enum BookmarkManager
@Icon.PredefinedColor
private static native int nativeGetBookmarkColor(@IntRange(from = 0) long bookmarkId);
@Icon.BookmarkIconType
private static native int nativeGetBookmarkIcon(@IntRange(from = 0) long bookmarkId);
@NonNull

View file

@ -69,7 +69,6 @@ public class Icon implements Parcelable
toARGB(115, 115, 115), // gray
toARGB(89, 115, 128) }; // bluegray
@interface BookmarkIconType {}
static final int BOOKMARK_ICON_TYPE_NONE = 0;
/// @note Important! Should be synced with kml/types.hpp/BookmarkIcon
@ -113,10 +112,9 @@ public class Icon implements Parcelable
@PredefinedColor
private final int mColor;
@BookmarkIconType
private final int mType;
public Icon(@PredefinedColor int color, @BookmarkIconType int type)
public Icon(@PredefinedColor int color, int type)
{
mColor = color;
mType = type;