Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
51525008
authored
Jan 07, 2018
by
Fernando Martínez Santiago
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Pictogram 1.6, Beta 6, bug en pcb.netservice solucionado
parent
b9a62918
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
73 deletions
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/Picto.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/net/NetService.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/tts/TTSHelper.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/Picto.java
View file @
51525008
...
...
@@ -327,15 +327,13 @@ public class Picto extends Img {
visited
.
add
(
get_child_grid
());
LinkedList
<
Picto
>
childs
=
PCBcontext
.
getVocabulary
().
next
(
get_child_grid
());
if
(
childs
==
null
)
{
Log
.
e
(
LOG_TAG
,
" Picto "
+
this
.
get_translation
()
+
" with empty grid "
+
get_child_grid
()
+
" is invisible?"
+
(!
visible
));
if
(
childs
==
null
)
visible
=
false
;
}
else
{
else
for
(
Picto
child
:
childs
)
{
visible
=
!
child
.
is_invisible
(
visited
);
if
(
visible
)
break
;
}
}
}
return
!
visible
;
}
...
...
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/net/NetService.java
View file @
51525008
This diff is collapsed.
Click to expand it.
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/tts/TTSHelper.java
View file @
51525008
...
...
@@ -150,7 +150,7 @@ public class TTSHelper {
public
void
play
(
String
input
)
{
Bundle
params
=
new
Bundle
();
params
.
put
String
(
TextToSpeech
.
Engine
.
KEY_PARAM_VOLUME
,
"1"
);
params
.
put
Float
(
TextToSpeech
.
Engine
.
KEY_PARAM_VOLUME
,
new
Float
(
1
)
);
params
.
putString
(
TextToSpeech
.
Engine
.
KEY_PARAM_UTTERANCE_ID
,
"TAPE_READ"
);
ttobj
.
speak
(
input
,
TextToSpeech
.
QUEUE_FLUSH
,
params
,
"TAPE_READ"
);
}
...
...
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