[go: up one dir, main page]

Page MenuHomePhabricator

Bug 2041477 - Move classes and middlewares from components.ipprotection to org.mozilla.fenix.ipprotection package
ClosedPublic

Authored by sfamisa on Thu, Oct 8, 4:01 PM.
Referenced Files
Unknown Object (File)
Thu, Oct 15, 5:26 AM
Unknown Object (File)
Thu, Oct 15, 4:28 AM
Unknown Object (File)
Thu, Oct 15, 1:20 AM
Unknown Object (File)
Wed, Oct 14, 8:22 PM
Unknown Object (File)
Wed, Oct 14, 7:42 PM
Unknown Object (File)
Wed, Oct 14, 7:38 PM
Unknown Object (File)
Wed, Oct 14, 7:09 PM
Unknown Object (File)
Tue, Oct 13, 1:39 AM
Subscribers

Diff Detail

Event Timeline

phab-bot published this revision for review.Thu, Oct 8, 4:02 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Ugh. Android Studio move does not update tests! I was wondering why there was no test imports changed even after moving the files.

Is there a plan to also move the corresponding test files from components.ipprotection to org.mozilla.fenix.ipprotection package for consistency?

  • FenixIPProtectionEligibilityStorageTest
  • IPProtectionInfoPrompterTest
  • IPProtectionRepositoryMiddlewareTest
  • IPProtectionSnackbarMiddlewareTest
  • IPProtectionTelemetryMiddlewareTest
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtection.kt
5

question: Should IPProtection.kt be also moved to org.mozilla.fenix.ipprotection package?

mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtection.kt
5

My bad, it's belong here. I somehow didn't realize this was a component at first

sfamisa added inline comments.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtection.kt
5

Great question! And you are right!

This is the "dependency component", so we want to leave it in this package.

nalexander added a subscriber: nalexander.

Nothing worrying me here, and o.m.f.components.* was definitely not the right home for this feature-related code.

This revision is now accepted and ready to land.Fri, Oct 9, 7:06 PM
sfamisa retitled this revision from Bug 2041477 - Move components.ipprotection to org.mozilla.fenix.ipprotection package to Bug 2041477 - Move classes and middlewares from components.ipprotection to org.mozilla.fenix.ipprotection package.

Is there a plan to also move the corresponding test files from components.ipprotection to org.mozilla.fenix.ipprotection package for consistency?

  • FenixIPProtectionEligibilityStorageTest
  • IPProtectionInfoPrompterTest
  • IPProtectionRepositoryMiddlewareTest
  • IPProtectionSnackbarMiddlewareTest
  • IPProtectionTelemetryMiddlewareTest

Good point @cbect - I moved them and ran another try here - https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102918

Thanks @nalexander for the r+

Once the try completes, I'll land the changes