Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6b09ef5

Browse files
committed
update
1 parent bce3134 commit 6b09ef5

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

shell/platform/android/io/flutter/embedding/android/FlutterActivity.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -781,10 +781,9 @@ public String getDartEntrypointFunctionName() {
781781
*
782782
* <p>Subclasses may override this method to directly control the initial route.
783783
*
784-
* <p>If this method returns null and the {@code <meta-data>} has {@link
785-
* FlutterActivityAndFragmentDelegate#HANDLE_DEEPLINKING_BUNDLE_KEY} set to true, the {@link
786-
* FlutterActivityAndFragmentDelegate} retrieves the initial route from the {@code Intent} through
787-
* the Intent.getData() instead.
784+
* <p>If this method returns null and the {@code shouldHandleDeeplinking()} returns true, the
785+
* {@link FlutterActivityAndFragmentDelegate} retrieves the initial route from the {@code Intent}
786+
* through the Intent.getData() instead.
788787
*/
789788
public String getInitialRoute() {
790789
if (getIntent().hasExtra(EXTRA_INITIAL_ROUTE)) {

shell/platform/android/io/flutter/embedding/android/FlutterFragmentActivity.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,9 @@ public String getDartEntrypointFunctionName() {
668668
*
669669
* <p>Subclasses may override this method to directly control the initial route.
670670
*
671-
* <p>If this method returns null and the {@code <meta-data>} has {@link
672-
* FlutterActivityAndFragmentDelegate#HANDLE_DEEPLINKING_BUNDLE_KEY} set to true, the {@link
673-
* FlutterActivityAndFragmentDelegate} retrieves the initial route from the {@code Intent} through
674-
* the Intent.getData() instead.
671+
* <p>If this method returns null and the {@code shouldHandleDeeplinking()} returns true, the
672+
* {@link FlutterActivityAndFragmentDelegate} retrieves the initial route from the {@code Intent}
673+
* through the Intent.getData() instead.
675674
*/
676675
protected String getInitialRoute() {
677676
if (getIntent().hasExtra(EXTRA_INITIAL_ROUTE)) {

0 commit comments

Comments
 (0)