Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
fallenstardust
YGOMobile-Cn-Ko-En
Commits
29c3f0ac
Commit
29c3f0ac
authored
Apr 08, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unregistered messagReceiver
parent
d55521a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
...c/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
+0
-1
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
View file @
29c3f0ac
...
@@ -162,7 +162,7 @@ public class MainActivity extends HomeActivity {
...
@@ -162,7 +162,7 @@ public class MainActivity extends HomeActivity {
protected
void
onDestroy
()
{
protected
void
onDestroy
()
{
YGOStarter
.
onDestroy
(
this
);
YGOStarter
.
onDestroy
(
this
);
super
.
onDestroy
();
super
.
onDestroy
();
if
(
mResCheckTask
!=
null
)
if
(
mResCheckTask
.
mReceiver
!=
null
)
mResCheckTask
.
unregisterMReceiver
();
mResCheckTask
.
unregisterMReceiver
();
}
}
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
View file @
29c3f0ac
...
@@ -277,7 +277,6 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
...
@@ -277,7 +277,6 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
FileUtils
.
copyDir
(
textures
,
mSettings
.
getCoreSkinPath
());
FileUtils
.
copyDir
(
textures
,
mSettings
.
getCoreSkinPath
());
FileUtils
.
copyDir
(
pics
,
mSettings
.
getCardImagePath
());
FileUtils
.
copyDir
(
pics
,
mSettings
.
getCardImagePath
());
han
.
sendEmptyMessage
(
0
);
han
.
sendEmptyMessage
(
0
);
loadData
();
loadData
();
...
...
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