Rename the test app android_views to platform_views (#36384)
This commit is contained in:
@@ -33,7 +33,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "io.flutter.integration.androidviews"
|
||||
applicationId "io.flutter.integration.platformviews"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 28
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="io.flutter.integration.androidviews">
|
||||
package="io.flutter.integration.platformviews">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
<application
|
||||
android:name="io.flutter.app.FlutterApplication"
|
||||
android:label="android_views">
|
||||
android:label="platform_views">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:launchMode="singleTop"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.Manifest;
|
||||
import android.content.pm.PackageManager;
|
||||
@@ -32,7 +32,7 @@ public class MainActivity extends FlutterActivity implements MethodChannel.Metho
|
||||
super.onCreate(savedInstanceState);
|
||||
GeneratedPluginRegistrant.registerWith(this);
|
||||
getFlutterView().getPluginRegistry()
|
||||
.registrarFor("io.flutter.integration.android_views").platformViewRegistry()
|
||||
.registrarFor("io.flutter.integration.platform_views").platformViewRegistry()
|
||||
.registerViewFactory("simple_view", new SimpleViewFactory(getFlutterView()));
|
||||
mMethodChannel = new MethodChannel(this.getFlutterView(), "android_views_integration");
|
||||
mMethodChannel.setMethodCallHandler(this);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.os.Build;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.os.Build;
|
||||
|
||||
Reference in New Issue
Block a user