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
4914a409
Unverified
Commit
4914a409
authored
Jun 25, 2021
by
Kate Lovett
Committed by
GitHub
Jun 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dart fix for AndroidViewController.id (#85246)
parent
bab24806
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
0 deletions
+64
-0
fix_data.yaml
packages/flutter/lib/fix_data.yaml
+22
-0
services.dart
packages/flutter/test_fixes/services.dart
+21
-0
services.dart.expect
packages/flutter/test_fixes/services.dart.expect
+21
-0
No files found.
packages/flutter/lib/fix_data.yaml
View file @
4914a409
...
...
@@ -15,6 +15,28 @@
version
:
1
transforms
:
# Changes made in https://github.com/flutter/flutter/pull/60320
-
title
:
"
Migrate
to
'viewId'"
date
:
2020-07-05
element
:
uris
:
[
'
services.dart'
]
getter
:
id
inClass
:
'
TextureAndroidViewController'
changes
:
-
kind
:
'
rename'
newName
:
'
viewId'
# Changes made in https://github.com/flutter/flutter/pull/60320
-
title
:
"
Migrate
to
'viewId'"
date
:
2020-07-05
element
:
uris
:
[
'
services.dart'
]
getter
:
id
inClass
:
'
SurfaceAndroidViewController'
changes
:
-
kind
:
'
rename'
newName
:
'
viewId'
# Changes made in https://github.com/flutter/flutter/pull/81858
-
title
:
"
Migrate
to
'supportedDevices'"
date
:
2021-05-04
...
...
packages/flutter/test_fixes/services.dart
0 → 100644
View file @
4914a409
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/services.dart'
;
void
main
(
)
{
// Changes made in https://github.com/flutter/flutter/pull/60320
final
SurfaceAndroidViewController
surfaceController
=
SurfaceAndroidViewController
(
viewId:
10
,
viewType:
'FixTester'
,
layoutDirection:
TextDirection
.
ltr
,
);
int
viewId
=
surfaceController
.
id
;
final
TextureAndroidViewController
textureController
=
TextureAndroidViewController
(
viewId:
10
,
viewType:
'FixTester'
,
layoutDirection:
TextDirection
.
ltr
,
);
viewId
=
textureController
.
id
;
}
packages/flutter/test_fixes/services.dart.expect
0 → 100644
View file @
4914a409
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
void main() {
// Changes made in https://github.com/flutter/flutter/pull/60320
final SurfaceAndroidViewController surfaceController = SurfaceAndroidViewController(
viewId: 10,
viewType: 'FixTester',
layoutDirection: TextDirection.ltr,
);
int viewId = surfaceController.viewId;
final TextureAndroidViewController textureController = TextureAndroidViewController(
viewId: 10,
viewType: 'FixTester',
layoutDirection: TextDirection.ltr,
);
viewId = textureController.viewId;
}
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