-
Notifications
You must be signed in to change notification settings - Fork 873
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
New content behaviour fix android (uplift to 1.39.x) #13162
Conversation
…ndroid [Android] News new content behaviour fix
SharedPreferencesManager.getInstance().writeInt( | ||
BRAVE_NESTED_SCROLLVIEW_POSITION | ||
+ BraveActivity.getBraveActivity() | ||
.getActivityTab() |
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.
do we need to check tab on null? as we do check in the code above.
SharedPreferencesManager.getInstance().writeInt( | ||
"position_" | ||
+ BraveActivity.getBraveActivity() | ||
.getActivityTab() |
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.
the same about null
SharedPreferencesManager.getInstance().writeInt( | ||
BRAVE_RECYCLERVIEW_POSITION | ||
+ BraveActivity.getBraveActivity() | ||
.getActivityTab() |
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.
the same about null
|
||
SharedPreferencesManager.getInstance().writeInt("position_" | ||
+ BraveActivity.getBraveActivity() | ||
.getActivityTab() |
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.
null check?
SharedPreferencesManager.getInstance().writeInt( | ||
BRAVE_RECYCLERVIEW_POSITION | ||
+ BraveActivity.getBraveActivity() | ||
.getActivityTab() |
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.
null check?
Closing in favour of #13184. |
Fixes brave/brave-browser#22182
Fixes brave/brave-browser#22183
Fixes brave/brave-browser#22356
Uplift of #13155
Pre-approval checklist:
Pre-merge checklist:
Post-merge checklist: