Skip to content

Remove deprecated method calls in FocusAwareCoordinator.#8670

Merged
Stypox merged 1 commit intoTeamNewPipe:devfrom
Isira-Seneviratne:Update_FocusAwareCoordinator
Jul 23, 2022
Merged

Remove deprecated method calls in FocusAwareCoordinator.#8670
Stypox merged 1 commit intoTeamNewPipe:devfrom
Isira-Seneviratne:Update_FocusAwareCoordinator

Conversation

@Isira-Seneviratne
Copy link
Copy Markdown
Member

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Remove calls/overrides to deprecated methods in FocusAwareCoordinator.

Fixes the following issue(s)

  • Fixes #

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

@Isira-Seneviratne Isira-Seneviratne force-pushed the Update_FocusAwareCoordinator branch 2 times, most recently from d051316 to 73e96e5 Compare July 21, 2022 03:27
@Isira-Seneviratne Isira-Seneviratne force-pushed the Update_FocusAwareCoordinator branch from 73e96e5 to f1dab11 Compare July 21, 2022 03:31
@triallax triallax added the code quality Improvements to the codebase to improve the code quality label Jul 21, 2022
Copy link
Copy Markdown
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work. It was pretty difficult to verify, since the emulator's ui kept crashing after I added cutouts, but it works. Please provide links to documentation when you do deprecated methods refactoring, otherwise I have to look for them myself to verify the code is correct, but I am sure you checked them out, too. Thanks!

insets.consumeSystemWindowInsets();
}
return insets;
return consumed ? WindowInsetsCompat.CONSUMED.toWindowInsets() : insets;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*/
@Override
protected boolean fitSystemWindows(final Rect insets) {
public WindowInsets onApplyWindowInsets(final WindowInsets windowInsets) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Stypox Stypox merged commit 74df7fc into TeamNewPipe:dev Jul 23, 2022
@Isira-Seneviratne Isira-Seneviratne deleted the Update_FocusAwareCoordinator branch August 7, 2022 06:11
@e-zk e-zk mentioned this pull request Aug 13, 2022
5 tasks
@Stypox Stypox mentioned this pull request Aug 27, 2022
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality Improvements to the codebase to improve the code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants