Skip to content

Conversation

@youenn98
Copy link
Contributor

Make start chrome before animation complete as default behavior. Helps improve twa start-up time.

youenn98 and others added 3 commits May 21, 2025 04:50
1. Remove package namespace definition in Manifest. Setting the
   namespace via the package attribute in the source AndroidManifest.xml
   is no longer supported.

2. Specify an explicit value for `android:exported` when the component
   has an intent filter defined.

3. Add androidx.appcompat:appcompat build dependency in build.gradle

4. Complete the PwaWrapperSplashScreenStrategy()'s
   startChromeBeforeAnimationComplete argument in test
Copy link
Contributor

@ishitatsuyuki ishitatsuyuki left a comment

Choose a reason for hiding this comment

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

From offline discussion, it seems PwaWrapperSplashScreenStrategyTest.java is still testing with startChromeBeforeAnimationComplete = false? I think we should ensure the defaults are tested, and if waitsForEnterAnimationCompletion_BeforeDeclaringReady breaks, we should state in the changelog that the API contract is changing.

youenn98 added 2 commits May 23, 2025 05:28
The default behavior is to not wait enter animation complete before
starting twa in browser. The
waitsForEnterAnimationCompletion_BeforeDeclaringReady test does not need
to be kept.
@youenn98 youenn98 force-pushed the skip_animation_as_default branch from f3d8583 to 6de79c4 Compare May 23, 2025 05:58
@youenn98
Copy link
Contributor Author

Yes, if we change the behavior to not wait on animation complete, the test waitsForEnterAnimationCompletion_BeforeDeclaringReady is not so meaningful. Added commits to delete it from current test suite.

@OlegNitz OlegNitz merged commit 3b0add4 into GoogleChrome:main Jun 11, 2025
2 checks passed
youenn98 added a commit to youenn98/android-browser-helper that referenced this pull request Jun 12, 2025
The skip animation as default
PR(GoogleChrome#520)
changes behaviour of abh. Added the change description to changelog.
Also, bump up the version & version code.
youenn98 added a commit to youenn98/android-browser-helper that referenced this pull request Jun 12, 2025
The skip animation as default
PR(GoogleChrome#520)
changes behaviour of abh. Added the change description to changelog.
Also, bump up the version & version code.
youenn98 added a commit to youenn98/android-browser-helper that referenced this pull request Jun 12, 2025
The skip animation as default
PR(GoogleChrome#520)
changes behaviour of abh. Added the change description to changelog.
Also, bump up the version & version code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants