Skip to content

Commit

Permalink
Move InAppReviewsUtils to .util.extensions package
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Feb 2, 2024
1 parent fb752cc commit 7cbbb26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
import org.wordpress.android.ui.uploads.UploadActionUseCase;
import org.wordpress.android.ui.uploads.UploadUtils;
import org.wordpress.android.ui.uploads.UploadUtilsWrapper;
import org.wordpress.android.ui.utils.InAppReviewsUtilsKt;
import org.wordpress.android.ui.utils.JetpackAppMigrationFlowUtils;
import org.wordpress.android.ui.whatsnew.FeatureAnnouncementDialogFragment;
import org.wordpress.android.util.AniUtils;
Expand Down Expand Up @@ -183,6 +182,7 @@
import static org.wordpress.android.login.LoginAnalyticsListener.CreatedAccountSource.EMAIL;
import static org.wordpress.android.push.NotificationsProcessingService.ARG_NOTIFICATION_TYPE;
import static org.wordpress.android.ui.JetpackConnectionSource.NOTIFICATIONS;
import static org.wordpress.android.util.extensions.InAppReviewExtensionsKt.logException;

import dagger.hilt.android.AndroidEntryPoint;

Expand Down Expand Up @@ -853,7 +853,7 @@ private void launchInAppReviews() {
Task<Void> flow = manager.launchReviewFlow(this, reviewInfo);
flow.addOnFailureListener(e -> AppLog.e(T.MAIN, "Error launching google review API flow.", e));
} else {
InAppReviewsUtilsKt.logException(task);
logException(task);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ import org.wordpress.android.ui.stories.StoriesMediaPickerResultHandler
import org.wordpress.android.ui.uploads.UploadActionUseCase
import org.wordpress.android.ui.uploads.UploadUtilsWrapper
import org.wordpress.android.ui.utils.UiHelpers
import org.wordpress.android.ui.utils.logException
import org.wordpress.android.util.AppLog
import org.wordpress.android.util.SnackbarItem
import org.wordpress.android.util.SnackbarSequencer
import org.wordpress.android.util.extensions.getSerializableCompat
import org.wordpress.android.util.extensions.getSerializableExtraCompat
import org.wordpress.android.util.extensions.logException
import org.wordpress.android.util.extensions.redirectContextClickToLongPressListener
import org.wordpress.android.util.extensions.setLiftOnScrollTargetViewIdAndRequestLayout
import org.wordpress.android.viewmodel.observeEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.wordpress.android.ui.utils
package org.wordpress.android.util.extensions

import com.google.android.gms.tasks.Task
import com.google.android.play.core.review.ReviewException
Expand Down

0 comments on commit 7cbbb26

Please sign in to comment.