Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_34031325
engine
提交
c62d6652
E
engine
项目概览
qq_34031325
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
c62d6652
编写于
9月 22, 2020
作者:
Z
Zachary Anderson
提交者:
GitHub
9月 22, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "Deprecate Android v1 embedding classes (#20868)" (#21338)
This reverts commit
3011b14a
.
上级
7e879a93
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
16 addition
and
24 deletion
+16
-24
shell/platform/android/io/flutter/app/FlutterActivity.java
shell/platform/android/io/flutter/app/FlutterActivity.java
+3
-3
shell/platform/android/io/flutter/app/FlutterActivityDelegate.java
...tform/android/io/flutter/app/FlutterActivityDelegate.java
+3
-4
shell/platform/android/io/flutter/app/FlutterFragmentActivity.java
...tform/android/io/flutter/app/FlutterFragmentActivity.java
+3
-3
shell/platform/android/io/flutter/app/FlutterPluginRegistry.java
...latform/android/io/flutter/app/FlutterPluginRegistry.java
+2
-2
shell/platform/android/io/flutter/plugin/common/PluginRegistry.java
...form/android/io/flutter/plugin/common/PluginRegistry.java
+2
-2
shell/platform/android/io/flutter/view/FlutterMain.java
shell/platform/android/io/flutter/view/FlutterMain.java
+1
-2
shell/platform/android/io/flutter/view/FlutterNativeView.java
...l/platform/android/io/flutter/view/FlutterNativeView.java
+0
-5
shell/platform/android/io/flutter/view/FlutterView.java
shell/platform/android/io/flutter/view/FlutterView.java
+2
-3
未找到文件。
shell/platform/android/io/flutter/app/FlutterActivity.java
浏览文件 @
c62d6652
...
...
@@ -18,10 +18,10 @@ import io.flutter.view.FlutterView;
/**
* Deprecated base class for activities that use Flutter.
*
* @deprecated {@link io.flutter.embedding.android.FlutterActivity} is the new API that now replaces
* this class. See https://flutter.dev/go/android-project-migration for more migration details.
* <p>Deprecation: {@link io.flutter.embedding.android.FlutterActivity} is the new API that now
* replaces this class. See https://flutter.dev/go/android-project-migration for more migration
* details.
*/
@Deprecated
public
class
FlutterActivity
extends
Activity
implements
FlutterView
.
Provider
,
PluginRegistry
,
ViewFactory
{
private
static
final
String
TAG
=
"FlutterActivity"
;
...
...
shell/platform/android/io/flutter/app/FlutterActivityDelegate.java
浏览文件 @
c62d6652
...
...
@@ -50,11 +50,10 @@ import java.util.ArrayList;
* your activity implement {@link PluginRegistry} and/or {@link
* io.flutter.view.FlutterView.Provider} and forward those methods to this class as well.
*
*
@deprecated {@link io.flutter.embedding.android.FlutterActivity} is the new API that now replaces
*
this class and {@link io.flutter.app.FlutterActivity}. See
*
https://flutter.dev/go/android-project-migration for more migration details.
*
<p>Deprecation: {@link io.flutter.embedding.android.FlutterActivity} is the new API that now
*
replaces
this class and {@link io.flutter.app.FlutterActivity}. See
* https://flutter.dev/go/android-project-migration for more migration details.
*/
@Deprecated
public
final
class
FlutterActivityDelegate
implements
FlutterActivityEvents
,
FlutterView
.
Provider
,
PluginRegistry
{
private
static
final
String
SPLASH_SCREEN_META_DATA_KEY
=
...
...
shell/platform/android/io/flutter/app/FlutterFragmentActivity.java
浏览文件 @
c62d6652
...
...
@@ -18,6 +18,9 @@ import io.flutter.view.FlutterView;
* Deprecated class for activities that use Flutter who also require the use of the Android v4
* Support library's {@link FragmentActivity}.
*
* <p>Deprecation: this class is replaced by {@link
* io.flutter.embedding.android.FlutterFragmentActivity}.
*
* <p>Applications that don't have this need will likely want to use {@link FlutterActivity}
* instead.
*
...
...
@@ -28,10 +31,7 @@ import io.flutter.view.FlutterView;
*
* @see <a target="_new"
* href="https://developer.android.com/training/testing/set-up-project">https://developer.android.com/training/testing/set-up-project</a>
* @deprecated this class is replaced by {@link
* io.flutter.embedding.android.FlutterFragmentActivity}.
*/
@Deprecated
public
class
FlutterFragmentActivity
extends
FragmentActivity
implements
FlutterView
.
Provider
,
PluginRegistry
,
ViewFactory
{
private
final
FlutterActivityDelegate
delegate
=
new
FlutterActivityDelegate
(
this
,
this
);
...
...
shell/platform/android/io/flutter/app/FlutterPluginRegistry.java
浏览文件 @
c62d6652
...
...
@@ -21,8 +21,8 @@ import java.util.LinkedHashMap;
import
java.util.List
;
import
java.util.Map
;
/
** @deprecated See https://flutter.dev/go/android-project-migration for migration instructions. */
@Deprecated
/
// This class is now deprecated. See https://flutter.dev/go/android-project-migration for
/// migration instructions.
public
class
FlutterPluginRegistry
implements
PluginRegistry
,
PluginRegistry
.
RequestPermissionsResultListener
,
...
...
shell/platform/android/io/flutter/plugin/common/PluginRegistry.java
浏览文件 @
c62d6652
...
...
@@ -25,9 +25,9 @@ import io.flutter.view.TextureRegistry;
* defaults to an instance of {@link io.flutter.app.FlutterActivity}, itself a {@link
* PluginRegistry}.
*
* @deprecated See https://flutter.dev/go/android-project-migration for migration details.
* <p>This class is now deprecated. See https://flutter.dev/go/android-project-migration for
* migration details.
*/
@Deprecated
public
interface
PluginRegistry
{
/**
* Returns a {@link Registrar} for receiving the registrations pertaining to the specified plugin.
...
...
shell/platform/android/io/flutter/view/FlutterMain.java
浏览文件 @
c62d6652
...
...
@@ -14,9 +14,8 @@ import io.flutter.embedding.engine.loader.FlutterLoader;
/**
* A legacy class to initialize the Flutter engine.
*
*
@deprecated
Replaced by {@link io.flutter.embedding.engine.loader.FlutterLoader}.
*
<p>
Replaced by {@link io.flutter.embedding.engine.loader.FlutterLoader}.
*/
@Deprecated
public
class
FlutterMain
{
public
static
class
Settings
{
...
...
shell/platform/android/io/flutter/view/FlutterNativeView.java
浏览文件 @
c62d6652
...
...
@@ -17,11 +17,6 @@ import io.flutter.embedding.engine.renderer.FlutterUiDisplayListener;
import
io.flutter.plugin.common.*
;
import
java.nio.ByteBuffer
;
/**
* @deprecated {@link io.flutter.embedding.android.FlutterView} is the new API that now replaces
* this class. See https://flutter.dev/go/android-project-migration for more migration details.
*/
@Deprecated
public
class
FlutterNativeView
implements
BinaryMessenger
{
private
static
final
String
TAG
=
"FlutterNativeView"
;
...
...
shell/platform/android/io/flutter/view/FlutterView.java
浏览文件 @
c62d6652
...
...
@@ -71,10 +71,9 @@ import java.util.concurrent.atomic.AtomicLong;
/**
* Deprecated Android view containing a Flutter app.
*
*
@deprecated
{@link io.flutter.embedding.android.FlutterView} is the new API that now replaces
*
this class. See https://flutter.dev/go/android-project-migration for more migration details.
*
<p>Deprecation:
{@link io.flutter.embedding.android.FlutterView} is the new API that now replaces
* this class. See https://flutter.dev/go/android-project-migration for more migration details.
*/
@Deprecated
public
class
FlutterView
extends
SurfaceView
implements
BinaryMessenger
,
TextureRegistry
,
MouseCursorPlugin
.
MouseCursorViewDelegate
{
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录