-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SystemUI: Partially revert 718d6d6 #21
base: fourteen
Are you sure you want to change the base?
Conversation
- Optimize split notification layout for regular screen
WalkthroughThe modifications in the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (4)
packages/SystemUI/res/layout/super_notification_shade.xml
is excluded by:!**/*.xml
packages/SystemUI/res/values-land/dimens.xml
is excluded by:!**/*.xml
packages/SystemUI/res/values-sw600dp-land/dimens.xml
is excluded by:!**/*.xml
packages/SystemUI/res/values/attrs.xml
is excluded by:!**/*.xml
Files selected for processing (1)
- packages/SystemUI/src/com/android/systemui/scene/ui/view/WindowRootView.kt (3 hunks)
Additional comments: 1
packages/SystemUI/src/com/android/systemui/scene/ui/view/WindowRootView.kt (1)
- 104-108: The logic for updating margins based on
ignoreRightInset
has been simplified, which is a positive change for improving the layout's performance and appearance on standard-sized screens. However, it's important to ensure that this change does not inadvertently affect layouts that might rely on the previous behavior ofignoreRightInset
. Specifically, the removal ofignoreLeftInset
and the simplification here could lead to different margin behaviors that were not intended or tested.Consider adding unit tests or UI tests to verify that the changes in margin handling do not negatively impact the layout of notifications or other UI elements within the
WindowRootView
. This could involve testing with various screen sizes and configurations to ensure compatibility and the desired improvements in layout performance and appearance.Additionally, verify that the removal of
ignoreLeftInset
and the changes toignoreRightInset
handling are well-documented in the project's documentation or comments, to aid future developers in understanding the rationale behind these changes and how they should work with the updatedLayoutParams
.
Summary by CodeRabbit