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
678af9c0
Commit
678af9c0
authored
Oct 28, 2015
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some issues found by strong mode
parent
9992a3e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
logs.dart
packages/flutter_tools/lib/src/commands/logs.dart
+2
-2
device.dart
packages/flutter_tools/lib/src/device.dart
+4
-2
remote_listener.dart
packages/flutter_tools/lib/src/test/remote_listener.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/commands/logs.dart
View file @
678af9c0
...
...
@@ -12,8 +12,8 @@ import 'flutter_command.dart';
final
Logger
_logging
=
new
Logger
(
'sky_tools.logs'
);
class
LogsCommand
extends
FlutterCommand
{
final
name
=
'logs'
;
final
description
=
'Show logs for running Sky apps.'
;
final
String
name
=
'logs'
;
final
String
description
=
'Show logs for running Sky apps.'
;
LogsCommand
()
{
argParser
.
addFlag
(
'clear'
,
...
...
packages/flutter_tools/lib/src/device.dart
View file @
678af9c0
...
...
@@ -810,13 +810,15 @@ class AndroidDevice extends Device {
}
@override
Future
<
bool
>
startApp
(
A
ndroidApk
apk
)
async
{
Future
<
bool
>
startApp
(
A
pplicationPackage
app
)
async
{
// Android currently has to be started with startServer(...).
assert
(
false
);
return
false
;
}
Future
<
bool
>
stopApp
(
AndroidApk
apk
)
async
{
Future
<
bool
>
stopApp
(
ApplicationPackage
app
)
async
{
final
AndroidApk
apk
=
app
;
// Turn off reverse port forwarding
runSync
([
adbPath
,
'reverse'
,
'--remove'
,
'tcp:
$_serverPort
'
]);
// Stop the app
...
...
packages/flutter_tools/lib/src/test/remote_listener.dart
View file @
678af9c0
...
...
@@ -69,7 +69,7 @@ class RemoteListener {
return
;
}
va
r
declarer
=
new
Declarer
();
Declare
r
declarer
=
new
Declarer
();
try
{
await
runZoned
(()
=>
new
Future
.
sync
(
main
),
zoneValues:
{
#test
.
declarer
:
declarer
...
...
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