Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢冠章
flutter_boost_1.22.4
Commits
58d6a2aa
Commit
58d6a2aa
authored
Dec 06, 2019
by
yangwu.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add try catch
parent
8e265765
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
android/src/main/java/com/idlefish/flutterboost/containers/BoostFlutterActivity.java
...dlefish/flutterboost/containers/BoostFlutterActivity.java
+8
-2
No files found.
android/src/main/java/com/idlefish/flutterboost/containers/BoostFlutterActivity.java
View file @
58d6a2aa
...
@@ -32,6 +32,7 @@ import android.os.Build;
...
@@ -32,6 +32,7 @@ import android.os.Build;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.os.Handler
;
import
android.os.Handler
;
import
android.os.Looper
;
import
android.os.Looper
;
import
android.util.Log
;
import
android.view.Gravity
;
import
android.view.Gravity
;
import
android.view.KeyEvent
;
import
android.view.KeyEvent
;
import
android.view.View
;
import
android.view.View
;
...
@@ -185,8 +186,13 @@ public abstract class BoostFlutterActivity extends Activity implements IFlutterV
...
@@ -185,8 +186,13 @@ public abstract class BoostFlutterActivity extends Activity implements IFlutterV
@Override
@Override
protected
void
onDestroy
()
{
protected
void
onDestroy
()
{
Utils
.
fixInputMethodManagerLeak
(
this
);
try
{
mSyncer
.
onDestroy
();
Utils
.
fixInputMethodManagerLeak
(
this
);
mSyncer
.
onDestroy
();
}
catch
(
Throwable
e
){
Log
.
e
(
"BoostFlutterActivity"
,
"onDestroy error"
);
}
super
.
onDestroy
();
super
.
onDestroy
();
}
}
...
...
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