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
7a4665f1
Unverified
Commit
7a4665f1
authored
Jul 17, 2019
by
Chris Yang
Committed by
GitHub
Jul 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the test app `android_views` to `platform_views` (#36384)
parent
42a9c031
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
15 deletions
+15
-15
build.gradle
dev/integration_tests/android_views/android/app/build.gradle
+1
-1
AndroidManifest.xml
...ts/android_views/android/app/src/main/AndroidManifest.xml
+2
-2
MainActivity.java
...ava/io/flutter/integration/androidviews/MainActivity.java
+2
-2
MotionEventCodec.java
...io/flutter/integration/androidviews/MotionEventCodec.java
+1
-1
SimplePlatformView.java
.../flutter/integration/androidviews/SimplePlatformView.java
+1
-1
SimpleViewFactory.java
...o/flutter/integration/androidviews/SimpleViewFactory.java
+1
-1
TouchPipe.java
...n/java/io/flutter/integration/androidviews/TouchPipe.java
+1
-1
project.pbxproj
..._tests/android_views/ios/Runner.xcodeproj/project.pbxproj
+3
-3
Info.plist
dev/integration_tests/android_views/ios/Runner/Info.plist
+1
-1
pubspec.yaml
dev/integration_tests/android_views/pubspec.yaml
+2
-2
No files found.
dev/integration_tests/android_views/android/app/build.gradle
View file @
7a4665f1
...
...
@@ -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.
android
views"
applicationId
"io.flutter.integration.
platform
views"
minSdkVersion
16
targetSdkVersion
28
versionCode
flutterVersionCode
.
toInteger
()
...
...
dev/integration_tests/android_views/android/app/src/main/AndroidManifest.xml
View file @
7a4665f1
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"io.flutter.integration.
android
views"
>
package=
"io.flutter.integration.
platform
views"
>
<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"
...
...
dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/MainActivity.java
View file @
7a4665f1
...
...
@@ -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
.
android
views
;
package
io
.
flutter
.
integration
.
platform
views
;
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
);
...
...
dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/MotionEventCodec.java
View file @
7a4665f1
...
...
@@ -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
.
android
views
;
package
io
.
flutter
.
integration
.
platform
views
;
import
android.annotation.TargetApi
;
import
android.os.Build
;
...
...
dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/SimplePlatformView.java
View file @
7a4665f1
...
...
@@ -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
.
android
views
;
package
io
.
flutter
.
integration
.
platform
views
;
import
android.content.Context
;
import
android.view.MotionEvent
;
...
...
dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/SimpleViewFactory.java
View file @
7a4665f1
...
...
@@ -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
.
android
views
;
package
io
.
flutter
.
integration
.
platform
views
;
import
android.content.Context
;
...
...
dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/TouchPipe.java
View file @
7a4665f1
...
...
@@ -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
.
android
views
;
package
io
.
flutter
.
integration
.
platform
views
;
import
android.annotation.TargetApi
;
import
android.os.Build
;
...
...
dev/integration_tests/android_views/ios/Runner.xcodeproj/project.pbxproj
View file @
7a4665f1
...
...
@@ -393,7 +393,7 @@
"$(inherited)"
,
"$(PROJECT_DIR)/Flutter"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
io.flutter.integration.platform
V
iews
;
PRODUCT_BUNDLE_IDENTIFIER
=
io.flutter.integration.platform
v
iews
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
@@ -522,7 +522,7 @@
"$(inherited)"
,
"$(PROJECT_DIR)/Flutter"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
io.flutter.integration.platform
V
iews
;
PRODUCT_BUNDLE_IDENTIFIER
=
io.flutter.integration.platform
v
iews
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
@@ -545,7 +545,7 @@
"$(inherited)"
,
"$(PROJECT_DIR)/Flutter"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
io.flutter.integration.platform
V
iews
;
PRODUCT_BUNDLE_IDENTIFIER
=
io.flutter.integration.platform
v
iews
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
dev/integration_tests/android_views/ios/Runner/Info.plist
View file @
7a4665f1
...
...
@@ -11,7 +11,7 @@
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
android
_views
<
/string
>
<
string
>
platform
_views
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
dev/integration_tests/android_views/pubspec.yaml
View file @
7a4665f1
name
:
android
_views
description
:
An integration test for embedded
Android
views
name
:
platform
_views
description
:
An integration test for embedded
platform
views
version
:
1.0.0+1
dependencies
:
...
...
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