Skip to content

Commit 173f7c0

Browse files
committed
Merge branch 'master' into prod
2 parents d26cf58 + 2cd4e15 commit 173f7c0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

adguard_cb/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ android {
1818
minSdkVersion 21
1919
targetSdkVersion 28
2020
applicationId 'com.adguard.android.contentblocker'
21-
versionCode 22000003
22-
versionName '2.5.2'
21+
versionCode 22000004
22+
versionName '2.5.3'
2323
signingConfig signingConfigs.config
2424
}
2525

adguard_cb/src/main/java/com/adguard/android/contentblocker/ui/MainActivity.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ private void showRateDialog(Intent intent) {
200200
return;
201201
}
202202

203+
// We show notification MAX_RATE_DIALOG_COUNT times or while user didn't push a notification
204+
preferencesService.setAppRated(true);
205+
203206
int filledCount = intent.getIntExtra(STARS_COUNT, 0);
204207
final View dialogLayout = LayoutInflater.from(this).inflate(R.layout.rate_dialog, null);
205208
final ViewGroup starsLayout = dialogLayout.findViewById(R.id.stars_layout);
@@ -222,7 +225,6 @@ private void showRateDialog(Intent intent) {
222225
View.OnClickListener buttonsListener = v -> {
223226
if (v.getId() == R.id.button_submit) {
224227
// TODO collect feedback
225-
preferencesService.setAppRated(true);
226228
showFeedbackSubmitDialog();
227229
}
228230
preferencesService.increaseRateAppDialogCount();

0 commit comments

Comments
 (0)