From 9f2d9f35ad34896ad59c40eeec73b32e926f3b85 Mon Sep 17 00:00:00 2001 From: Kiryl Kaveryn Date: Tue, 12 Mar 2024 12:37:15 +0400 Subject: [PATCH] [android] bookmarks manager formatting Signed-off-by: Kiryl Kaveryn --- .../organicmaps/bookmarks/data/BookmarkManager.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/android/app/src/main/cpp/app/organicmaps/bookmarks/data/BookmarkManager.cpp b/android/app/src/main/cpp/app/organicmaps/bookmarks/data/BookmarkManager.cpp index c3b9104da9..249a3cb0eb 100644 --- a/android/app/src/main/cpp/app/organicmaps/bookmarks/data/BookmarkManager.cpp +++ b/android/app/src/main/cpp/app/organicmaps/bookmarks/data/BookmarkManager.cpp @@ -625,16 +625,13 @@ Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeAreNotificationsEnable } JNIEXPORT jobject JNICALL -Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategory(JNIEnv *env, - jobject, - jlong id) +Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategory(JNIEnv *env, jobject, jlong id) { return MakeCategory(env, static_cast(id)); } JNIEXPORT jobjectArray JNICALL -Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategories(JNIEnv *env, - jobject) +Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategories(JNIEnv *env, jobject) { auto const & bm = frm()->GetBookmarkManager(); auto const & ids = bm.GetSortedBmGroupIdList(); @@ -643,8 +640,7 @@ Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategories( } JNIEXPORT jint JNICALL -Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategoriesCount(JNIEnv *env, - jobject) +Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategoriesCount(JNIEnv *env, jobject) { auto const & bm = frm()->GetBookmarkManager(); auto const count = bm.GetBmGroupsCount(); @@ -653,9 +649,7 @@ Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetBookmarkCategoriesC } JNIEXPORT jobjectArray JNICALL -Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetChildrenCategories(JNIEnv *env, - jobject, - jlong parentId) +Java_app_organicmaps_bookmarks_data_BookmarkManager_nativeGetChildrenCategories(JNIEnv *env, jobject, jlong parentId) { auto const & bm = frm()->GetBookmarkManager(); auto const ids = bm.GetChildrenCategories(static_cast(parentId));