Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
8092f6a2
Commit
8092f6a2
authored
Jan 15, 2020
by
Jason Simmons
Committed by
Flutter GitHub Bot
Jan 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reland: Migrate some more integration tests to Android embedding v2 (#48840)
parent
493c99de
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
16 deletions
+30
-16
AndroidManifest.xml
...ts/image_loading/android/app/src/main/AndroidManifest.xml
+5
-0
MainActivity.java
...ava/com/yourcompany/platforminteraction/MainActivity.java
+5
-6
AndroidManifest.xml
...lease_smoke_test/android/app/src/main/AndroidManifest.xml
+5
-0
MainActivity.java
...ain/java/com/example/release_smoke_test/MainActivity.java
+5
-5
AndroidManifest.xml
...gration_tests/ui/android/app/src/main/AndroidManifest.xml
+5
-0
MainActivity.java
...ain/java/com/yourcompany/integration_ui/MainActivity.java
+5
-5
No files found.
dev/integration_tests/image_loading/android/app/src/main/AndroidManifest.xml
View file @
8092f6a2
...
@@ -28,5 +28,10 @@ found in the LICENSE file. -->
...
@@ -28,5 +28,10 @@ found in the LICENSE file. -->
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name=
"flutterEmbedding"
android:value=
"2"
/>
</application>
</application>
</manifest>
</manifest>
dev/integration_tests/image_loading/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java
View file @
8092f6a2
...
@@ -4,15 +4,14 @@
...
@@ -4,15 +4,14 @@
package
com
.
yourcompany
.
platforminteraction
;
package
com
.
yourcompany
.
platforminteraction
;
import
android.os.Bundle
;
import
androidx.annotation.NonNull
;
import
io.flutter.app.FlutterActivity
;
import
io.flutter.embedding.android.FlutterActivity
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
import
io.flutter.view.FlutterView
;
public
class
MainActivity
extends
FlutterActivity
{
public
class
MainActivity
extends
FlutterActivity
{
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
public
void
configureFlutterEngine
(
@NonNull
FlutterEngine
flutterEngine
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
}
}
}
}
dev/integration_tests/release_smoke_test/android/app/src/main/AndroidManifest.xml
View file @
8092f6a2
...
@@ -33,5 +33,10 @@ found in the LICENSE file. -->
...
@@ -33,5 +33,10 @@ found in the LICENSE file. -->
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name=
"flutterEmbedding"
android:value=
"2"
/>
</application>
</application>
</manifest>
</manifest>
dev/integration_tests/release_smoke_test/android/app/src/main/java/com/example/release_smoke_test/MainActivity.java
View file @
8092f6a2
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
package
com
.
example
.
release_smoke_test
;
package
com
.
example
.
release_smoke_test
;
import
android.os.Bundle
;
import
androidx.annotation.NonNull
;
import
io.flutter.app.FlutterActivity
;
import
io.flutter.embedding.android.FlutterActivity
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
public
class
MainActivity
extends
FlutterActivity
{
public
class
MainActivity
extends
FlutterActivity
{
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
public
void
configureFlutterEngine
(
@NonNull
FlutterEngine
flutterEngine
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
}
}
}
}
dev/integration_tests/ui/android/app/src/main/AndroidManifest.xml
View file @
8092f6a2
...
@@ -28,5 +28,10 @@ found in the LICENSE file. -->
...
@@ -28,5 +28,10 @@ found in the LICENSE file. -->
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name=
"flutterEmbedding"
android:value=
"2"
/>
</application>
</application>
</manifest>
</manifest>
dev/integration_tests/ui/android/app/src/main/java/com/yourcompany/integration_ui/MainActivity.java
View file @
8092f6a2
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
package
com
.
yourcompany
.
integration_ui
;
package
com
.
yourcompany
.
integration_ui
;
import
android.os.Bundle
;
import
androidx.annotation.NonNull
;
import
io.flutter.app.FlutterActivity
;
import
io.flutter.embedding.android.FlutterActivity
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
public
class
MainActivity
extends
FlutterActivity
{
public
class
MainActivity
extends
FlutterActivity
{
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
public
void
configureFlutterEngine
(
@NonNull
FlutterEngine
flutterEngine
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment