Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TucWLAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
urz-anwendungen
TucWLAN
Commits
d20479ec
Commit
d20479ec
authored
Apr 24, 2019
by
Toni Beier
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The status screen of the ongoing configuration is leavable
parent
065774ef
Pipeline
#24739
passed with stages
in 2 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
app/src/main/java/de/tu_chemnitz/wlan/MainActivity.java
app/src/main/java/de/tu_chemnitz/wlan/MainActivity.java
+20
-10
No files found.
app/src/main/java/de/tu_chemnitz/wlan/MainActivity.java
View file @
d20479ec
...
...
@@ -160,21 +160,25 @@ public class MainActivity extends AppCompatActivity {
if
(
inInstall
)
{
Helper
.
getInstallStatus
(
this
);
synchronized
(
this
)
{
if
(
timer
==
null
)
{
timer
=
new
Timer
(
true
);
timer
.
schedule
(
new
TimerTask
()
{
@Override
public
void
run
()
{
MainActivity
.
this
.
runOnUiThread
(
new
Runnable
()
{
timer
=
new
Timer
(
true
);
timer
.
schedule
(
new
TimerTask
()
{
@Override
public
void
run
()
{
redrawLayoutInstall
();
if
(
Helper
.
ticks_install
.
size
()
>=
4
)
timer
.
cancel
();
MainActivity
.
this
.
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
run
()
{
redrawLayoutInstall
();
if
(
Helper
.
ticks_install
.
size
()
>=
4
)
timer
.
cancel
();
}
});
}
});
}
,
1000
,
2000
);
}
}
,
1000
,
2000
);
}
}
else
{
...
...
@@ -289,6 +293,12 @@ public class MainActivity extends AppCompatActivity {
private
void
btn_exit_click
()
{
inInstall
=
false
;
synchronized
(
this
)
{
if
(
timer
!=
null
)
{
timer
.
cancel
();
timer
=
null
;
}
}
recomputeLayout
();
}
...
...
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