From 59d42070d40b07a25c25250378e369d5de7918ea Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Thu, 31 Mar 2016 16:22:48 +0300 Subject: [PATCH] [android] Changed the way to get rank of editor. --- android/src/com/mapswithme/maps/editor/ViralFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/com/mapswithme/maps/editor/ViralFragment.java b/android/src/com/mapswithme/maps/editor/ViralFragment.java index bea5cc87a0..62c7631deb 100644 --- a/android/src/com/mapswithme/maps/editor/ViralFragment.java +++ b/android/src/com/mapswithme/maps/editor/ViralFragment.java @@ -92,9 +92,9 @@ public class ViralFragment extends BaseMwmDialogFragment } } - // Counts fake editor rank based on number of total edits made by user. + // Counts fake rank in the rating of editors. private int getUserEditorRank() { - return (int) ((1000 + new Random().nextInt(1000)) / Editor.nativeGetStats()[0] / 10); + return 1000 + new Random().nextInt(1000); } }