ADFA-3490 | Fix screen orientation lock in OnboardingActivity#1139
ADFA-3490 | Fix screen orientation lock in OnboardingActivity#1139
Conversation
Allows OnboardingActivity to support landscape mode by removing the forced portrait configuration
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughRelease Notes
Risks & Best Practices
Recommendation: Verify that the onboarding flow (greeting, permissions, info screens) renders correctly and remains usable in both portrait and landscape orientations across various device sizes before release. ✅ Best Practice - Lint Suppression Removal: Properly addressed the lint warning by removing the underlying cause rather than just suppressing it, which aligns with Android development best practices. WalkthroughThe OnboardingActivity has been simplified by removing explicit portrait orientation locking. The suppression annotation, orientation function call, and associated imports ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Removed the forced portrait orientation lock in
OnboardingActivityby deleting thesetOrientationFunctionblock. This allows the onboarding screen to properly respond to system orientation changes (like landscape mode). The associated lint suppression was also removed to maintain clean code.Details
document_5071403752829748746.mp4
Ticket
ADFA-3490