diff --git a/CHANGELOG.md b/CHANGELOG.md index 64eea77e153..bdff7e896b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ ownCloud admins and users. ## Summary * Change - Migrate tests to the new kotlinx-coroutines-test API: [#4710](https://github.com/owncloud/android/issues/4710) +* Change - Increase rating dialog delay: [#4744](https://github.com/owncloud/android/pull/4744) * Enhancement - Show members of a space: [#4612](https://github.com/owncloud/android/issues/4612) * Enhancement - Set emoji as space image: [#4707](https://github.com/owncloud/android/issues/4707) @@ -54,6 +55,13 @@ ownCloud admins and users. https://github.com/owncloud/android/issues/4710 https://github.com/owncloud/android/pull/4722 +* Change - Increase rating dialog delay: [#4744](https://github.com/owncloud/android/pull/4744) + + The time before the rating dialog appears has been increased to 7 days, in order + to make it less intrusive for the user. + + https://github.com/owncloud/android/pull/4744 + * Enhancement - Show members of a space: [#4612](https://github.com/owncloud/android/issues/4612) A new option to view all members of a space has been added to the bottom sheet, diff --git a/changelog/unreleased/4744 b/changelog/unreleased/4744 new file mode 100644 index 00000000000..3c013bb1786 --- /dev/null +++ b/changelog/unreleased/4744 @@ -0,0 +1,5 @@ +Change: Increase rating dialog delay + +The time before the rating dialog appears has been increased to 7 days, in order to make it less intrusive for the user. + +https://github.com/owncloud/android/pull/4744 diff --git a/owncloudApp/src/main/java/com/owncloud/android/AppRater.java b/owncloudApp/src/main/java/com/owncloud/android/AppRater.java index 9f585ebd7e5..46c0fc27c0a 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/AppRater.java +++ b/owncloudApp/src/main/java/com/owncloud/android/AppRater.java @@ -29,9 +29,9 @@ public class AppRater { private static final String DIALOG_RATE_ME_TAG = "DIALOG_RATE_ME"; - private final static int DAYS_UNTIL_PROMPT = 2; + private final static int DAYS_UNTIL_PROMPT = 7; private final static int LAUNCHES_UNTIL_PROMPT = 2; - private final static int DAYS_UNTIL_NEUTRAL_CLICK = 1; + private final static int DAYS_UNTIL_NEUTRAL_CLICK = 7; public static final String APP_RATER_PREF_TITLE = "app_rater"; public static final String APP_RATER_PREF_DONT_SHOW = "don't_show_again";