1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-17 12:28:16 +00:00

Adds espresso testing for add_to_app/android_fullscreen (#323)

This commit is contained in:
Andrew Brogdon
2020-03-12 20:12:24 -07:00
committed by GitHub
parent bff4d459f7
commit face0f564a
18 changed files with 294 additions and 97 deletions

View File

@@ -13,17 +13,15 @@
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="io.flutter.embedding.android.FlutterActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
android:exported="true"
/>
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize" />
</application>
</manifest>
</manifest>

View File

@@ -4,7 +4,7 @@
package dev.flutter.example.androidfullscreen
import android.app.Application
import androidx.multidex.MultiDexApplication
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.embedding.engine.FlutterEngineCache
import io.flutter.embedding.engine.dart.DartExecutor
@@ -12,7 +12,7 @@ import io.flutter.plugin.common.MethodChannel
const val ENGINE_ID = "1"
class MyApplication : Application() {
class MyApplication : MultiDexApplication() {
var count = 0
private lateinit var channel: MethodChannel